mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-13899 feedback itself is a type of grading - date graded is now affected by feedback too; merged from MOODLE_19_STABLE
This commit is contained in:
parent
375ba6e52b
commit
cf12f6c5a9
@ -272,7 +272,7 @@ class grade_grade extends grade_object {
|
||||
*/
|
||||
function get_dategraded() {
|
||||
//TODO: HACK - create new fields in 2.0
|
||||
if (is_null($this->finalgrade)) {
|
||||
if (is_null($this->finalgrade) and is_null($this->feedback)) {
|
||||
return null; // no grade == no date
|
||||
} else if ($this->overridden) {
|
||||
return $this->overridden;
|
||||
|
Loading…
x
Reference in New Issue
Block a user