From 82cff43c854c7d2e12ace599aa0235a2ca5a0e7f Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 31 Aug 2005 09:30:25 +0000 Subject: [PATCH] Incorrect variable name - not sure why this worked! --- mod/quiz/import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/import.php b/mod/quiz/import.php index e9a8b5d7a22..24e710b3102 100644 --- a/mod/quiz/import.php +++ b/mod/quiz/import.php @@ -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"); }