Merge branch 'MDL-86437-main' of https://github.com/snake/moodle

This commit is contained in:
Mihail Geshoski
2026-02-05 11:32:13 +08:00
@@ -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.");