Whoops... missed one.

This commit is contained in:
thepurpleblob
2006-03-10 11:08:50 +00:00
parent 63d2ed1aa3
commit bc5e4b1cbe
+1 -1
View File
@@ -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;
}