MDL-34011 Lesson module: fixed incorrect display of student attempt for short answer question
This commit is contained in:
committed by
Rossiani Wijaya
parent
1bfc006d96
commit
e7a7df3bf8
@@ -289,6 +289,8 @@ class lesson_page_type_shortanswer extends lesson_page {
|
||||
} else {
|
||||
$answerdata->score = get_string("didnotreceivecredit", "lesson");
|
||||
}
|
||||
// We have found the correct answer, do not process any more answers.
|
||||
break;
|
||||
} else {
|
||||
$answerdata->response = get_string("thatsthewronganswer", "lesson");
|
||||
if ($this->lesson->custom) {
|
||||
|
||||
Reference in New Issue
Block a user