diff --git a/mod/quiz/review.php b/mod/quiz/review.php index 5c9e2ef944..741bfce98a 100644 --- a/mod/quiz/review.php +++ b/mod/quiz/review.php @@ -117,6 +117,12 @@ $attempt = $attemptobj->get_attempt(); $quiz = $attemptobj->get_quiz(); $overtime = 0; +// TODO Remove once Moodle developers fix core moodle bug +// https://app.asana.com/0/1202576739091559/1203214388219424 +// This fixes the Review page to show mark/unmark +$options->marks = mod_quiz_display_options::extract($quiz->reviewmarks, mod_quiz_display_options::LATER_WHILE_OPEN, + question_display_options::MARK_AND_MAX, question_display_options::MAX_ONLY); + if ($attempt->state == quiz_attempt::FINISHED) { if ($timetaken = ($attempt->timefinish - $attempt->timestart)) { if ($quiz->timelimit && $timetaken > ($quiz->timelimit + 60)) {