From dd506ec8e56d5508c48bc958e08827348e961134 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 10 Mar 2004 07:20:42 +0000 Subject: [PATCH] Removing a notice --- course/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/course/index.php b/course/index.php index 465c20215d..e115f29cc5 100644 --- a/course/index.php +++ b/course/index.php @@ -49,9 +49,7 @@ if (iscreator()) { // Print link to create a new course echo "

"; - unset($options); - $option["category"] = $category->id; - print_single_button("edit.php", $options, get_string("addnewcourse"), "get"); + print_single_button("edit.php", NULL, get_string("addnewcourse"), "get"); echo "

"; } -- 2.39.5