fixed typo preventing parsing of iCal

This commit is contained in:
Ralf Becker 2011-05-26 10:49:39 +00:00
parent 30259bfd4c
commit 561c650c29

View File

@ -315,7 +315,7 @@ return array(); // temporary disabling meeting requests from calendar
if (!is_array($event)) if (!is_array($event))
{ {
$ical = new calendar_ical(); $ical = new calendar_ical();
if (!($events = $ical->icaltoegw($data['attachment'], '', 'utf-8')) || count($events) != 1) if (!($events = $ical->icaltoegw($event, '', 'utf-8')) || count($events) != 1)
{ {
debugLog(__METHOD__."('$event') error parsing iCal!"); debugLog(__METHOD__."('$event') error parsing iCal!");
return null; return null;