]> git.mjollnir.org Git - moodle.git/commitdiff
Merging fix for MDL-12088 from MOODLE_19_STABLE
authormark-nielsen <mark-nielsen>
Sun, 11 Nov 2007 01:26:46 +0000 (01:26 +0000)
committermark-nielsen <mark-nielsen>
Sun, 11 Nov 2007 01:26:46 +0000 (01:26 +0000)
mod/lesson/action/continue.php

index 5d58caee5d1216a0ed6af6644639a3dd7168a6ab..3b5aa19dcf453da561973949d416428076e1eb52 100644 (file)
             }
             $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) {