* calendar: use possible attribute values regarding X-MICROSOFT-CDO-ALLDAYEVENT

This commit is contained in:
Klaus Leithoff 2012-04-24 11:03:25 +00:00
parent c571975c83
commit b09b90b8db

View File

@ -2374,7 +2374,7 @@ class calendar_ical extends calendar_boupdate
} }
break; break;
case 'X-MICROSOFT-CDO-ALLDAYEVENT': case 'X-MICROSOFT-CDO-ALLDAYEVENT':
$event['whole_day'] = true; $event['whole_day'] = (isset($attributes['value'])?strtoupper($attributes['value'])=='TRUE':true);
break; break;
case 'AALARM': case 'AALARM':
case 'DALARM': case 'DALARM':