Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.1 regressions, 4.1.2
Description
This seems to be a problem introduced by MDL-75513. To replicate:
- Create a course but don't enrol any students.
- Go to Gradebook -> User report
- Notice the following error on the page:
Warning: Undefined variable $users in /home/jake/moodledata/s401/moodle/grade/report/user/renderer.php on line 150
Exception - array_keys(): Argument #1 ($array) must be of type array, null givenMore information about this error
Debug info:
Error code: generalexceptionmessage
Stack trace: line 150 of /grade/report/user/renderer.php: TypeError thrownline 150 of /grade/report/user/renderer.php: call to array_keys()line 171 of /grade/report/user/index.php: call to gradereport_user_renderer->user_navigation()
Attachments
Issue Links
- is a regression caused by
-
MDL-75513 Implement "User report" functionality
-
- Closed
-