From bc5e4b1cbe83ce4be91d38fa31dcc0a177b5ff9a Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Fri, 10 Mar 2006 11:08:50 +0000 Subject: [PATCH] Whoops... missed one. --- course/mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/mod.php b/course/mod.php index 151f821c7c..719b633085 100644 --- a/course/mod.php +++ b/course/mod.php @@ -600,7 +600,7 @@ $form->coursemodule = ""; $form->mode = "add"; $form->sesskey = !empty($USER->id) ? $USER->sesskey : ''; - if (isset_param('type')) { + if (!empty($type)) { $form->type = $type; } -- 2.39.5