Merge branch 'MDL-86437-500' of https://github.com/snake/moodle into MOODLE_500_STABLE
This commit is contained in:
@@ -122,6 +122,7 @@ class sync_tool_grades extends adhoc_task {
|
||||
mtrace("Skipping - Invalid grade $mtracecontent.");
|
||||
continue;
|
||||
}
|
||||
$grade = floatval($grade); // Grade must be sent as a numeric value, not a string.
|
||||
|
||||
if (empty($grademax)) {
|
||||
mtrace("Skipping - Invalid grademax $mtracecontent.");
|
||||
|
||||
Reference in New Issue
Block a user