-
Bug
-
Resolution: Fixed
-
Minor
-
2.5
-
MOODLE_25_STABLE
-
MOODLE_25_STABLE
-
wip-
MDL-38300-m25 -
- Log in as an admin.
- Browse to a course.
- Switch to a student role.
- Check you don't get any notices.
This seems to be a regression of MDL-31983.
Under Moodle 2.5, logged as admin, go to any course and try "Switch role to student".
The switch happens but this is shown:
Notice: Undefined variable: iscurrentuser in lib/navigationlib.php on line 3965
|
It seems that, or the calculation of $iscurrentuser is missing in generate_user_settings() or the code is incorrectly copied/pasted or similar from load_for_user().
Ciao
- is a regression caused by
-
MDL-31983 Include Reports Under Settings block -> Course administration
-
- Closed
-