Permalink
Browse files

Removed a PHP notice

  • Loading branch information...
1 parent 01b91ac commit 02cc013abfebcdcea3bd7ba692e8cc4907b13267 gustav_delius committed Sep 17, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/event.php
View
@@ -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();
}

0 comments on commit 02cc013

Please sign in to comment.