mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Correction to Short answers, now checks the answers in order (first to
last) and stops checking if a match is found.
This commit is contained in:
parent
414f3a1938
commit
c02f173799
@ -354,6 +354,7 @@
|
||||
if (trim(strip_tags($answer->response))) {
|
||||
$response = $answer->response;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
// case insensitive
|
||||
@ -363,6 +364,7 @@
|
||||
if (trim(strip_tags($answer->response))) {
|
||||
$response = $answer->response;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user