MDL-18579:

Provide nicer message if 'Stop on error' is selected and errors are found.
This commit is contained in:
thepurpleblob
2009-03-18 11:14:17 +00:00
parent 2b808f03b8
commit 4a093d5096
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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