mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
fix returned xml for correct expansion is empty
This commit is contained in:
parent
476dc6ad93
commit
1b29c4cea0
@ -276,9 +276,10 @@ class groupdav_principals extends groupdav_handler
|
||||
{
|
||||
if ($expand_prop['name'] === $prop_name) break;
|
||||
}
|
||||
if ($expand_prop['name'] !== $prop_name || !is_array($expand_prop['val']) || $expand_prop['val'][0]['name'] !== 'href')
|
||||
if ($expand_prop['name'] !== $prop_name || !is_array($expand_prop['val']) ||
|
||||
$expand_prop['val'] && $expand_prop['val'][0]['name'] !== 'href')
|
||||
{
|
||||
$this->groupdav->log('### NO expand-property report for '.$requested_prop['attrs']['name']);
|
||||
$this->groupdav->log('### NO expand-property report for '.$requested_prop['attrs']['name'].' ('.$prop_name.')');
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user