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

This commit is contained in:
Klaus Leithoff 2012-04-24 11:05:39 +00:00
parent e83216d4e3
commit ad081bad8f

View File

@ -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':