From b09b90b8db002b43df9c0a297a56f2b0efd61af7 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 24 Apr 2012 11:03:25 +0000 Subject: [PATCH] * calendar: use possible attribute values regarding X-MICROSOFT-CDO-ALLDAYEVENT --- 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 8df3e16e5e..20f00b499f 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -2374,7 +2374,7 @@ class calendar_ical extends calendar_boupdate } break; case 'X-MICROSOFT-CDO-ALLDAYEVENT': - $event['whole_day'] = true; + $event['whole_day'] = (isset($attributes['value'])?strtoupper($attributes['value'])=='TRUE':true); break; case 'AALARM': case 'DALARM':