From: moodler Date: Wed, 28 Jul 2004 06:27:10 +0000 (+0000) Subject: FIxed some notices X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=39fc10d79fb8a57487ec8d371cde8f5cfe97ae3a;p=moodle.git FIxed some notices --- diff --git a/course/edit.html b/course/edit.html index c52a4df67c..1281500642 100644 --- a/course/edit.html +++ b/course/edit.html @@ -130,7 +130,7 @@ enrol != internal) { + if ($CFG->enrol != 'internal') { ?>

: diff --git a/course/edit.php b/course/edit.php index b33445ad3c..4a8b2cc4dd 100644 --- a/course/edit.php +++ b/course/edit.php @@ -3,7 +3,7 @@ require_once("../config.php"); require_once("lib.php"); - require_once("$CFG->libdir/blocklib.php"); + require_once("$CFG->libdir/blocklib.php"); optional_variable($id, 0); // course id optional_variable($category, 0); // category id @@ -124,6 +124,8 @@ $form->password = ""; $form->guest = 0; $form->numsections = 10; + $form->idnumber = ''; + $form->cost = ''; $form->newsitems = 5; $form->showgrades = 1; $form->groupmode = 0;