Merge branch 'MDL-33699' of git://github.com/netspotau/moodle-mod_assign
This commit is contained in:
@@ -2582,7 +2582,11 @@ class assign {
|
||||
// different ways to indicate no grade
|
||||
continue;
|
||||
}
|
||||
if ($current->grade != $modified->grade) {
|
||||
// Treat 0 and null as different values
|
||||
if ($current->grade !== null) {
|
||||
$current->grade = floatval($current->grade);
|
||||
}
|
||||
if ($current->grade !== $modified->grade) {
|
||||
// grade changed
|
||||
if ($this->grading_disabled($modified->userid)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user