MDL-16263 - followup - fix regression.

This commit is contained in:
tjhunt
2008-08-29 10:18:11 +00:00
parent 62e76c6766
commit fd9f17a108
+1 -1
View File
@@ -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 {