From a707c183f302160dd04aa9ea7d2fbf6ec90ff003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Fri, 23 Apr 2010 14:38:07 +0000 Subject: [PATCH] Export all-day events as 'EVENT' to Nokia devices --- calendar/inc/class.calendar_ical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 345e7a1c35..318846e6c9 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -796,7 +796,7 @@ class calendar_ical extends calendar_boupdate $attributes['X-EPOCAGENDAENTRYTYPE'] = 'ANNIVERSARY'; $attributes['DTEND'] = $attributes['DTSTART']; } - elseif ($event['special'] == '2') + elseif ($event['special'] == '2' || !empty($event['whole_day'])) { $attributes['X-EPOCAGENDAENTRYTYPE'] = 'EVENT'; }