From 00d727e387dccfffce1a74266ed750500a542d46 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 12 Feb 2004 03:48:13 +0000 Subject: [PATCH] FIxed (old?) bug that sometimes prevented new categories --- mod/quiz/category.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/quiz/category.php b/mod/quiz/category.php index 6a4c8d5a07..a9300f1d6d 100644 --- a/mod/quiz/category.php +++ b/mod/quiz/category.php @@ -96,6 +96,7 @@ // Peel out all the data from variable names. foreach ($form as $key => $val) { + $cat = NULL; if ($key == "new" and $val != "") { $cat->name = $val; $cat->info = $form['newinfo']; -- 2.39.5