mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-18579:
Provide nicer message if 'Stop on error' is selected and errors are found. Merged from STABLE_19
This commit is contained in:
parent
2d10b78980
commit
10b4a508ae
2 changed files with 3 additions and 1 deletions
|
@ -239,7 +239,8 @@ class qformat_default {
|
|||
|
||||
// check for errors before we continue
|
||||
if ($this->stoponerror and ($this->importerrors>0)) {
|
||||
return false;
|
||||
notify( get_string('importparseerror','quiz') );
|
||||
return true;
|
||||
}
|
||||
|
||||
// get list of valid answer grades
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue