From: thepurpleblob Date: Wed, 14 Mar 2007 13:14:37 +0000 (+0000) Subject: Use $this->error for only error report X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4089729b66c2d1f40f438ff4530ad04ba650ba32;p=moodle.git Use $this->error for only error report --- 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; }