Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 9abb69aacb5b3d5cc1e048200e9ecff9f6613c56 1 parent acb3bf8
James Pratt jamiepratt authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  question/type/questiontypebase.php
2  question/type/questiontypebase.php
@@ -996,7 +996,7 @@ public function export_to_xml($question, $format, $extra=null) {
996 996 $percent = 100 * $answer->fraction;
997 997 $expout .= " <answer fraction=\"$percent\" {$format->format($answer->answerformat)}>\n";
998 998 $expout .= $format->writetext($answer->answer, 3, false);
999   - $expout .= " <feedback {$format->format($question->feedbackformat)}>\n";
  999 + $expout .= " <feedback {$format->format($answer->feedbackformat)}>\n";
1000 1000 $expout .= $format->writetext($answer->feedback, 4, false);
1001 1001 $expout .= " </feedback>\n";
1002 1002 if (is_array($extraanswersfields)) {

0 comments on commit 9abb69a

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