From 02cc013abfebcdcea3bd7ba692e8cc4907b13267 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 17 Sep 2006 17:33:42 +0000 Subject: [PATCH] Removed a PHP notice --- calendar/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/event.php b/calendar/event.php index 7093c95290f..9d5fd564d8f 100644 --- a/calendar/event.php +++ b/calendar/event.php @@ -378,7 +378,7 @@ $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(); }