From: moodler Date: Wed, 10 Mar 2004 07:20:42 +0000 (+0000) Subject: Removing a notice X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dd506ec8e56d5508c48bc958e08827348e961134;p=moodle.git Removing a notice --- 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 "

"; }