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

This commit is contained in:
Jörg Lehrke 2010-04-23 14:37:19 +00:00
parent 60d87a616d
commit b4fed2873b

View File

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