Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…o MOODLE_22_STABLE
  • Loading branch information...
commit d613d7d78e5f50ca49b134573707624c426f4347 2 parents 7c19940 + 9abb69a
Sam Hemelryk samhemelryk 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 d613d7d

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