mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Use $this->error for only error report
This commit is contained in:
parent
650408a336
commit
4089729b66
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user