MDL-34011 Lesson module - short answer question: fixed student attempt statistics
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user