MDL-16263 - followup - fix regression.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user