From 0839ef65d5f1449e587ed80df3c9233198906eaa Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 17 Sep 2006 17:43:30 +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 d735576c92..203f005a14 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(); } -- 2.39.5