Permalink
Browse files

Merge branch 'MDL-37049_21' of git://github.com/jamiepratt/moodle int…

…o MOODLE_21_STABLE
  • Loading branch information...
2 parents 12a1176 + ed26bab commit 3969853b1c10a4020306772c6be57363f1b387c8 Sam Hemelryk committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/questiontypebase.php
@@ -1009,7 +1009,7 @@ public function export_to_xml($question, $format, $extra=null) {
$percent = 100 * $answer->fraction;
$expout .= " <answer fraction=\"$percent\" {$format->format($answer->answerformat)}>\n";
$expout .= $format->writetext($answer->answer, 3, false);
- $expout .= " <feedback {$format->format($question->feedbackformat)}>\n";
+ $expout .= " <feedback {$format->format($answer->feedbackformat)}>\n";
$expout .= $format->writetext($answer->feedback, 4, false);
$expout .= " </feedback>\n";
if (is_array($extraanswersfields)) {

0 comments on commit 3969853

Please sign in to comment.