From 429c090bceddfef1b52757fed136ac906c4ea61b 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 dc9e61a5647..c90b7d35c85 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; } }