]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9265:
authorthepurpleblob <thepurpleblob>
Fri, 1 Jun 2007 08:25:18 +0000 (08:25 +0000)
committerthepurpleblob <thepurpleblob>
Fri, 1 Jun 2007 08:25:18 +0000 (08:25 +0000)
'correctanswer' field missing for true/false.

question/format/blackboard_6/format.php

index 9ebce7d588d0fbf3351328df05e2ad51db5b6dd6..3de0e07c3697f30f969453567ac5fccf77135420 100644 (file)
@@ -564,6 +564,7 @@ function process_tf($quest, &$questions) {
         $question->feedbacktrue = addslashes($fback->incorrect);
         $question->feedbackfalse = addslashes($fback->correct);
     }
+    $question->correctanswer = $question->answer;
     $questions[] = $question;
 }