mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Avoid php warning
This commit is contained in:
parent
2a9b27e76b
commit
4b8d4dd5e3
@ -323,7 +323,7 @@ class addressbook_bo extends Api\Contacts
|
|||||||
}
|
}
|
||||||
foreach ($filters as $filter)
|
foreach ($filters as $filter)
|
||||||
{
|
{
|
||||||
foreach($this->search($criteria, array('account_id', 'contact_email', 'contact_email_home', 'contact_pubkey', 'contact_id'),
|
foreach((array)$this->search($criteria, array('account_id', 'contact_email', 'contact_email_home', 'contact_pubkey', 'contact_id'),
|
||||||
'', '', '', false, 'OR', false, $filter) as $contact)
|
'', '', '', false, 'OR', false, $filter) as $contact)
|
||||||
{
|
{
|
||||||
// first check for file and second for pubkey field (LDAP, AD or old SQL)
|
// first check for file and second for pubkey field (LDAP, AD or old SQL)
|
||||||
|
Loading…
Reference in New Issue
Block a user