From: thepurpleblob Date: Fri, 10 Mar 2006 11:08:50 +0000 (+0000) Subject: Whoops... missed one. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bc5e4b1cbe83ce4be91d38fa31dcc0a177b5ff9a;p=moodle.git Whoops... missed one. --- 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; }