MDL-34011 Lesson module - short answer question: fixed student attempt statistics

This commit is contained in:
Rossiani Wijaya
2013-03-12 14:16:15 +08:00
parent ee8640a906
commit 43deb1a4c4
+1
View File
@@ -290,6 +290,7 @@ class lesson_page_type_shortanswer extends lesson_page {
$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");