-
Bug
-
Resolution: Fixed
-
Critical
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
I am not sure how to reproduce this bug, but try:
- Create a quiz, with a question and do not start/do any attempt
- Go to the gradebook and grade a student
- Go to the quiz and view the attempts
Fatal error: Using $this when not in object context in /home/fred/www/repositories/stable_master/moodle/mod/quiz/report/reportlib.php on line 416
|
These are the lines in context:
return quiz_has_grades($quiz) &&
|
($reviewoptions->marks >= question_display_options::MARK_AND_MAX ||
|
has_capability('moodle/grade:viewhidden', $this->context));
|