Skip to content

Commit

Permalink
MDL-34011 Lesson module - short answer question: fixed student attemp…
Browse files Browse the repository at this point in the history
…t statistics
  • Loading branch information
Rossiani Wijaya committed Mar 12, 2013
1 parent ee8640a commit 43deb1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/lesson/pagetypes/shortanswer.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ public function report_answers($answerpage, $answerdata, $useranswer, $pagestats
$answerdata->score = get_string("didnotreceivecredit", "lesson");
}
// We have found the correct answer, do not process any more answers.
$answerpage->answerdata = $answerdata;
break;
} else {
$answerdata->response = get_string("thatsthewronganswer", "lesson");
Expand Down

0 comments on commit 43deb1a

Please sign in to comment.