Merge branch 'MDL-82697-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user