-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.8, 2.9.2, 3.0
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
wip-
MDL-51999-master -
One of the continue statements is used in get_user_profile_fields() function in grade/lib.php outside of a loop:
if (!is_array($customfields)) {
|
continue;
|
}
|
In PHP 7 this will cause fatal error:
Fatal error: 'continue' not in the 'loop' or 'switch' context in grade/lib.php on line 3147 (https://github.com/moodle/moodle/blob/master/grade/lib.php#L3146).