Skip to content

Commit

Permalink
Merge branch 'MDL-34011_m23' of git://github.com/rwijaya/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_23_STABLE
  • Loading branch information
Damyon Wiese committed Mar 12, 2013
2 parents df62668 + b845942 commit c6f2415
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mod/lesson/pagetypes/shortanswer.php
Expand Up @@ -289,6 +289,9 @@ public function report_answers($answerpage, $answerdata, $useranswer, $pagestats
} else {
$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");
if ($this->lesson->custom) {
Expand Down

0 comments on commit c6f2415

Please sign in to comment.