-
Bug
-
Resolution: Fixed
-
Critical
-
2.9.2
-
MOODLE_29_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-52218_master_alt -
-
3.1 Stable Sprint 2, 3.1 Sprint 3
If a user that has the rights to do gradings but has not the capability to view hidden grades minimizes elements of the grading table, he is not able to maximize it anymore.
With debugging enabled, following messages occur:
Strict Standards: Only variables should be passed by reference in /var/www/html/moodle_test/grade/report/grader/lib.php on line 896
|
Notice: Undefined offset: 9598 in /var/www/html/moodle_test/lib/grade/grade_grade.php on line 708
|
|
Warning: array_merge(): Argument #2 is not an array in /var/www/html/moodle_test/lib/grade/grade_grade.php on line 708
|
|
Warning: array_unique() expects parameter 1 to be array, null given in /var/www/html/moodle_test/lib/grade/grade_grade.php on line 708
|
|
Warning: sort() expects parameter 1 to be array, null given in /var/www/html/moodle_test/lib/grade/grade_grade.php on line 709
|
|
Notice: Undefined offset: 9602 in /var/www/html/moodle_test/lib/grade/grade_grade.php on line 708
|
It's should be somehow prevented that Moodle ends up stucked in that scenario.