mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-34011 Lesson module: fixed incorrect display of student attempt for short answer question
This commit is contained in:
parent
8673a98d1d
commit
ee8640a906
1 changed files with 2 additions and 0 deletions
|
@ -289,6 +289,8 @@ class lesson_page_type_shortanswer extends lesson_page {
|
||||||
} else {
|
} else {
|
||||||
$answerdata->score = get_string("didnotreceivecredit", "lesson");
|
$answerdata->score = get_string("didnotreceivecredit", "lesson");
|
||||||
}
|
}
|
||||||
|
// We have found the correct answer, do not process any more answers.
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
$answerdata->response = get_string("thatsthewronganswer", "lesson");
|
$answerdata->response = get_string("thatsthewronganswer", "lesson");
|
||||||
if ($this->lesson->custom) {
|
if ($this->lesson->custom) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue