mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
"fixed typo reported in bug #2302 - Error while imported iCal file (PHP Error)"
This commit is contained in:
parent
0c41ee0949
commit
a3c57c48b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user