mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-34011' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
43c791653b
@ -289,6 +289,9 @@ 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.
|
||||||
|
$answerpage->answerdata = $answerdata;
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
$answerdata->response = get_string("thatsthewronganswer", "lesson");
|
$answerdata->response = get_string("thatsthewronganswer", "lesson");
|
||||||
if ($this->lesson->custom) {
|
if ($this->lesson->custom) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user