Use $this->error for only error report

This commit is contained in:
thepurpleblob 2007-03-14 13:14:37 +00:00
parent 650408a336
commit 4089729b66

View File

@ -511,7 +511,7 @@ class qformat_xml extends qformat_default {
}
else {
$notsupported = get_string( 'xmltypeunsupported','quiz',$question_type );
echo "<p>$notsupported</p>";
$this->error( $notsupportted );
$qo = null;
}