diff --git a/question/format/xml/format.php b/question/format/xml/format.php index e089b4e6ef4..582b869c6ac 100755 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -967,7 +967,7 @@ class qformat_xml extends qformat_default { $expout .= " $tolerance\n"; $expout .= " $tolerancetype\n"; $expout .= " $correctanswerformat\n"; - $expout .= " $correctanswerformat\n"; + $expout .= " $correctanswerlength\n"; $expout .= " ".$this->writetext( $answer->feedback )."\n"; $expout .= "\n"; }