From fcc50858eee0ff2b3c88727dd4047e20d93118b1 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Mon, 1 Mar 2010 15:37:59 +0000 Subject: [PATCH] set whole day flag on import if necessary - this is needed for better recognition in bo class --- calendar/inc/class.calendar_ical.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 401b995b2e..afa64f7d97 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -2674,6 +2674,11 @@ class calendar_ical extends calendar_boupdate } if ($this->calendarOwner) $event['owner'] = $this->calendarOwner; + + if ($this->isWholeDay($event)) + { + $event['whole_day'] == true; + } if ($this->log) {