mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merge branch 'MDL-82697-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE
This commit is contained in:
commit
e9cece4b1c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue