mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
addressbook::groupdav: fixing a bug regarding the retrieval of addressbook entrys with groupdav, (occurring when accounts stored in ldap and
addresses in sql, and the entry in question is retrieved via uid (as it is possible to retrieve a contact by bassing on an array as contact_id))
This commit is contained in:
parent
961f9b7871
commit
b459070ab3
@ -739,7 +739,7 @@ class addressbook_so
|
||||
|
||||
if ($this->contact_repository != $this->account_repository && is_object($this->so_accounts) &&
|
||||
(!is_null($owner) && !$owner || !is_null($contact_id) &&
|
||||
($this->contact_repository == 'sql' && !is_numeric($contact_id) ||
|
||||
($this->contact_repository == 'sql' && (!is_numeric($contact_id) && !is_array($contact_id) )||
|
||||
$this->contact_repository == 'ldap' && is_numeric($contact_id))))
|
||||
{
|
||||
return $this->so_accounts;
|
||||
|
Loading…
Reference in New Issue
Block a user