summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-15 08:29:33 +0000
committerthomascube <thomas@roundcube.net>2012-02-15 08:29:33 +0000
commitb8e6ba1908a9d2e9c5f22f8c4cc532d06e685ed0 (patch)
tree58471f087b83f8f6bd4e3fabce7fd318ec9fe8d6 /program/include/rcube_ldap.php
parent4dc22dd63417d6043489898d6ff9ac551c1b4231 (diff)
Backported r5878 to 0.7 release branch
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index b82e17502..6a52fa266 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -606,6 +606,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']);