From 0ff21576d097c7954f62b7c1e9c966615a80b9e7 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 21 Nov 2024 20:19:05 +1300 Subject: [PATCH] Fix #792 - update grades when activity completion used. --- classes/local/automark.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/local/automark.php b/classes/local/automark.php index 422ffffd71..6c3c01866a 100644 --- a/classes/local/automark.php +++ b/classes/local/automark.php @@ -164,6 +164,7 @@ public static function session($session, $course, $cm, $attendance, $returnerror } if (!empty($newlogs)) { $DB->insert_records('attendance_log', $newlogs); + $donesomething = true; } }