From 301317e9877835f867165235ecd4f05b3399d4d7 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Thu, 26 Jul 2007 11:04:28 +0000 Subject: [PATCH] Whoops - parameters need to match category check and display of course. --- question/import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/import.php b/question/import.php index 782f0e6403..de65b3a735 100644 --- a/question/import.php +++ b/question/import.php @@ -63,7 +63,7 @@ } // check category is valid (against THIS courseid, before we change it) - $validcats = question_category_options( $courseid, true, true ); + $validcats = question_category_options( $courseid, false, true ); if (!array_key_exists( $categoryid, $validcats )) { print_error( 'invalidcategory', 'quiz' ); } -- 2.39.5