Fixed true/false bug due to new 'correctanswer' field.

This commit is contained in:
thepurpleblob 2007-03-14 15:16:20 +00:00
parent ac26175c5c
commit 3bf7621121

View File

@ -122,6 +122,7 @@ function process_tf($xml, &$questions) {
$question->feedbacktrue = addslashes(trim(@$thisquestion["#"]["GRADABLE"][0]["#"]["FEEDBACK_WHEN_INCORRECT"][0]["#"]));
$question->feedbackfalse = addslashes(trim(@$thisquestion["#"]["GRADABLE"][0]["#"]["FEEDBACK_WHEN_CORRECT"][0]["#"]));
}
$question->correctanswer = $question->answer;
$questions[] = $question;
}
}