Permalink
Browse files

MDL-34011 Lesson module - short answer question: fixed student attemp…

…t statistics
  • Loading branch information...
1 parent ee8640a commit 43deb1a4c4e5df71d31c23e86a68a585b41cb68e @rwijaya rwijaya committed Mar 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/lesson/pagetypes/shortanswer.php
@@ -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");

0 comments on commit 43deb1a

Please sign in to comment.