]> git.mjollnir.org Git - moodle.git/commitdiff
Removed some notices ... argh, this module needs help ...
authormoodler <moodler>
Thu, 12 Aug 2004 08:05:51 +0000 (08:05 +0000)
committermoodler <moodler>
Thu, 12 Aug 2004 08:05:51 +0000 (08:05 +0000)
mod/attendance/mod.html

index 75a5e9e5a2579f8ce6fe989d6487eef00dc60b19..7674f0c6302e6bcfd9506fc656c90a916a151ce0 100755 (executable)
@@ -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)) {