Merge branch 'MDL-86437-500' of https://github.com/snake/moodle into MOODLE_500_STABLE

This commit is contained in:
Mihail Geshoski
2026-02-05 12:03:16 +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.");