mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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']];
|
$attributes['PRIORITY'] = (int) $this->priority_egw2ical[$event['priority']];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'TRANSP':
|
case 'TRANSP':
|
||||||
if ($version == '1.0') {
|
if ($version == '1.0') {
|
||||||
$attributes['TRANSP'] = ($event['non_blocking'] ? 1 : 0);
|
$attributes['TRANSP'] = ($event['non_blocking'] ? 1 : 0);
|
||||||
} else {
|
} else {
|
||||||
@ -1457,7 +1457,7 @@ class calendar_ical extends calendar_boupdate
|
|||||||
|
|
||||||
return array($event);
|
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
|
// no events to return
|
||||||
// or not allowed N:1 relation with params just meant for a single event
|
// or not allowed N:1 relation with params just meant for a single event
|
||||||
|
Loading…
Reference in New Issue
Block a user