Export all-day events as 'EVENT' to Nokia devices

This commit is contained in:
Jörg Lehrke 2010-04-23 14:37:36 +00:00
parent c0126726b7
commit 29292e3cbb

View File

@ -794,7 +794,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';
}