From 4089729b66c2d1f40f438ff4530ad04ba650ba32 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 14 Mar 2007 13:14:37 +0000 Subject: [PATCH] Use $this->error for only error report --- question/format/xml/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/format/xml/format.php b/question/format/xml/format.php index 611245f435..23fae5e16e 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; } -- 2.39.5