Merge branch 'MDL-82697-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE

This commit is contained in:
Huong Nguyen
2024-12-19 10:21:36 +07:00
+1 -1
View File
@@ -312,7 +312,7 @@ class stateactions {
$maxsections = $format->get_max_sections();
if ($lastsectionnumber >= $maxsections) {
throw new moodle_exception('maxsectionslimit', 'moodle', $maxsections);
throw new moodle_exception('maxsectionslimit', 'moodle', '', $maxsections);
}
$modinfo = get_fast_modinfo($course);