mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-82697' of https://github.com/paulholden/moodle
This commit is contained in:
commit
7a5fb9bd78
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user