$question->answer was swapped for $question->correctanswer in questiontype
for some reason! Compensated for in format type.
This commit is contained in:
thepurpleblob
2007-02-21 14:20:46 +00:00
parent 474991a19d
commit 7939a4a0cb
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -363,8 +363,8 @@ class qformat_gift extends qformat_default {
$question->feedbacktrue = $feedback['wrong'];
}
//$question->defaultgrade = 1;
//$question->image = ""; // No images with this format
$question->correctanswer = $question->answer;
return $question;
break;