mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merging fix for MDL-12088 from MOODLE_19_STABLE
This commit is contained in:
parent
3f24c39700
commit
6e378e8b77
@ -392,6 +392,7 @@
|
||||
}
|
||||
$userresponse = implode(",", $userresponse);
|
||||
|
||||
$response = '';
|
||||
if ($ncorrect == count($answers)-2) { // dont count correct/wrong responses in the total.
|
||||
foreach ($answers as $answer) {
|
||||
if ($answer->response == NULL && $answer->answer != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user