mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
"fixed warning if only an allprop is present"
This commit is contained in:
parent
b0fe8d229e
commit
e035498517
@ -83,7 +83,7 @@ class calendar_groupdav extends groupdav_handler
|
||||
return false;
|
||||
}
|
||||
// check if we have to return the full calendar data or just the etag's
|
||||
if (!($calendar_data = $options['props'] == 'all' && $options['root']['ns'] == groupdav::CALDAV))
|
||||
if (!($calendar_data = $options['props'] == 'all' && $options['root']['ns'] == groupdav::CALDAV) && is_array($options['props']))
|
||||
{
|
||||
foreach($options['props'] as $prop)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user