From: moodler Date: Thu, 12 Aug 2004 08:05:51 +0000 (+0000) Subject: Removed some notices ... argh, this module needs help ... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3d13d66a888ed0d79c1fb47777045539cbb7611d;p=moodle.git Removed some notices ... argh, this module needs help ... --- diff --git a/mod/attendance/mod.html b/mod/attendance/mod.html index 75a5e9e5a2..7674f0c630 100755 --- a/mod/attendance/mod.html +++ b/mod/attendance/mod.html @@ -7,6 +7,16 @@ $nohtmleditorneeded = true; //require_once("lib.php") +if (empty($form->dynsection)) { + $form->dynsection = 0; +} +if (empty($form->autoattend)) { + $form->autoattend = 0; +} +if (empty($form->grade)) { + $form->grade = 0; +} + // error_reporting(E_ALL); // if we're adding a new instance if (empty($form->id)) {