Incorrect variable name - not sure why this worked!

This commit is contained in:
thepurpleblob
2005-08-31 09:30:25 +00:00
parent 7788ed7182
commit 82cff43c85
+1 -1
View File
@@ -60,7 +60,7 @@
$classname = "quiz_format_$format";
$quiz_format = new $classname();
if (! $format->importpreprocess($category,$course)) { // Do anything before that we need to
if (! $quiz_format->importpreprocess($category,$course)) { // Do anything before that we need to
error("Error occurred during pre-processing!",
"$CFG->wwwroot/mod/quiz/import.php?category=$category->id");
}