Skip to content
Browse files

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

  • Loading branch information...
1 parent 91f5479 commit 87c39bf54908840b870d7605b7a626c7c6c6200c thepurpleblob committed Mar 14, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/format/blackboard/format.php
View
1 question/format/blackboard/format.php
@@ -120,6 +120,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;
}
}

0 comments on commit 87c39bf

Please sign in to comment.
Something went wrong with that request. Please try again.