Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-30749 fixing typo referring to question instead of answer object

  • Loading branch information...
commit ed26baba6de90cbea7f22710297ba250447a367f 1 parent 6508da4
James Pratt jamiepratt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  question/type/questiontypebase.php
2  question/type/questiontypebase.php
View
@@ -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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.