diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index b521a10a288..3011f49cbcd 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -5253,7 +5253,7 @@ class assign { // Allow teachers to skip sending notifications. if (optional_param('sendstudentnotifications', true, PARAM_BOOL)) { - $this->notify_grade_modified($grade); + $this->notify_grade_modified($grade, true); } // Save outcomes.