Merging fix for MDL-12088 from MOODLE_19_STABLE

This commit is contained in:
mark-nielsen 2007-11-11 01:26:46 +00:00
parent 3f24c39700
commit 6e378e8b77

View File

@ -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) {