From: tjhunt Date: Fri, 29 Aug 2008 10:18:11 +0000 (+0000) Subject: MDL-16263 - followup - fix regression. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fd9f17a108883fef361420f799ea2dd4c5e9a5be;p=moodle.git MDL-16263 - followup - fix regression. --- diff --git a/mod/quiz/attemptlib.php b/mod/quiz/attemptlib.php index 53a9942c08..3e3308f9ae 100644 --- a/mod/quiz/attemptlib.php +++ b/mod/quiz/attemptlib.php @@ -570,7 +570,7 @@ class quiz_attempt extends quiz { */ public function get_question_score($questionid) { $this->ensure_state_loaded($questionid); - $options = $this->get_render_options($this->quiz->review, $this->states[$questionid]); + $options = $this->get_render_options($this->states[$questionid]); if ($options->scores) { return quiz_format_grade($this->quiz, $this->states[$questionid]->last_graded->grade); } else {