From 3d13d66a888ed0d79c1fb47777045539cbb7611d Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 12 Aug 2004 08:05:51 +0000 Subject: [PATCH] Removed some notices ... argh, this module needs help ... --- mod/attendance/mod.html | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)) { -- 2.39.5