diff options
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_ldap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php index 70ae263ad..5eab7dba0 100644 --- a/program/include/rcube_ldap.php +++ b/program/include/rcube_ldap.php @@ -611,6 +611,9 @@ class rcube_ldap extends rcube_addressbook for ($i=0; $i < $entry[$attr]['count']; $i++) { + if (empty($entry[$attr][$i])) + continue; + $result = @ldap_read($this->conn, $entry[$attr][$i], '(objectclass=*)', $attrib, 0, (int)$this->prop['sizelimit'], (int)$this->prop['timelimit']); |