Fix an undefined variable notice. Merged from 1.6stable.

This commit is contained in:
tjhunt
2006-05-22 13:06:36 +00:00
parent 656ee8c6a1
commit 971cd5082a
+1
View File
@@ -21,6 +21,7 @@
error("Course does not exist!");
}
$showcatmenu = false;
if ($categoryid) { // update category in session variable
$SESSION->questioncat = $categoryid;
} else { // try to get category from modform