From: gustav_delius Date: Sun, 17 Sep 2006 17:43:30 +0000 (+0000) Subject: Removed a PHP notice X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0839ef65d5f1449e587ed80df3c9233198906eaa;p=moodle.git Removed a PHP notice --- 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(); }