]> git.mjollnir.org Git - moodle.git/commitdiff
Removed a PHP notice
authorgustav_delius <gustav_delius>
Sun, 17 Sep 2006 17:43:30 +0000 (17:43 +0000)
committergustav_delius <gustav_delius>
Sun, 17 Sep 2006 17:43:30 +0000 (17:43 +0000)
calendar/event.php

index d735576c92914e6ac8ab5c752c6dc586800f339c..203f005a14afd391b283c61ee74236c87a9c190f 100644 (file)
                     $form->timestart = make_timestamp($cal_y, $cal_m, 1, 0, 0, 0);
                 }
             }
-            if($form->timestart < 0) {
+            if(!isset($form->timestart) or $form->timestart < 0) {
                 $form->timestart = time();
             }