This commit is contained in:
Huong Nguyen 2024-12-19 10:21:08 +07:00
commit 7a5fb9bd78
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

@ -316,7 +316,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);