"fixed typo reported in bug #2302 - Error while imported iCal file (PHP Error)"

This commit is contained in:
Ralf Becker 2009-10-12 15:44:52 +00:00
parent 0c41ee0949
commit a3c57c48b3

View File

@ -550,7 +550,7 @@ class calendar_ical extends calendar_boupdate
$attributes['PRIORITY'] = (int) $this->priority_egw2ical[$event['priority']];
break;
case 'TRANSP':
case 'TRANSP':
if ($version == '1.0') {
$attributes['TRANSP'] = ($event['non_blocking'] ? 1 : 0);
} else {
@ -1457,7 +1457,7 @@ class calendar_ical extends calendar_boupdate
return array($event);
}
else if($count($events) == 0 || $cal_id > 0 || !is_null($etag) || $recur_date)
else if(count($events) == 0 || $cal_id > 0 || !is_null($etag) || $recur_date)
{
// no events to return
// or not allowed N:1 relation with params just meant for a single event