]> git.mjollnir.org Git - moodle.git/commitdiff
Whoops... missed one.
authorthepurpleblob <thepurpleblob>
Fri, 10 Mar 2006 11:08:50 +0000 (11:08 +0000)
committerthepurpleblob <thepurpleblob>
Fri, 10 Mar 2006 11:08:50 +0000 (11:08 +0000)
course/mod.php

index 151f821c7c5325000c99fc978b24d3ea39db3484..719b63308556d0d4d9cf02c41e1c586b5076bae3 100644 (file)
         $form->coursemodule = "";
         $form->mode       = "add";
         $form->sesskey    = !empty($USER->id) ? $USER->sesskey : '';
-        if (isset_param('type')) {
+        if (!empty($type)) {
             $form->type = $type;
         }