plugins/kolab_auth
Aleksander Machniak
machniak at kolabsys.com
Thu Nov 6 10:45:59 CET 2014
plugins/kolab_auth/kolab_auth_ldap.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 469c26b973de847db486b6687e132cc6ddff4f11
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Thu Nov 6 04:44:30 2014 -0500
Fix bug where dosearch() always returned an array with max. one element (#3619)
diff --git a/plugins/kolab_auth/kolab_auth_ldap.php b/plugins/kolab_auth/kolab_auth_ldap.php
index 303bbf3..9784427 100644
--- a/plugins/kolab_auth/kolab_auth_ldap.php
+++ b/plugins/kolab_auth/kolab_auth_ldap.php
@@ -310,7 +310,8 @@ class kolab_auth_ldap extends rcube_ldap_generic
if ($limit && $limit <= $i) {
break;
}
- $dn = key($result->entries(true));
+
+ $dn = $entry['dn'];
$entry = rcube_ldap_generic::normalize_entry($entry);
$list[$dn] = $this->field_mapping($dn, $entry);
$i++;
More information about the commits
mailing list