mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
"quiten warning, if search returns empty result"
This commit is contained in:
parent
5d734876a4
commit
0e08767e79
@ -826,7 +826,7 @@ class addressbook_ldap
|
||||
|
||||
$entries = ldap_get_entries($this->ds, $result);
|
||||
$this->total = $entries['count'];
|
||||
foreach($entries as $i => $entry)
|
||||
foreach((array)$entries as $i => $entry)
|
||||
{
|
||||
if (!is_int($i)) continue; // eg. count
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user