diff --git a/question/format/xml/format.php b/question/format/xml/format.php index 611245f4351..23fae5e16e0 100755 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -511,7 +511,7 @@ class qformat_xml extends qformat_default { } else { $notsupported = get_string( 'xmltypeunsupported','quiz',$question_type ); - echo "

$notsupported

"; + $this->error( $notsupportted ); $qo = null; }