Fix bug where dosearch() always returned an array with max. one element (#3619)
This commit is contained in:
parent
6b43156b55
commit
469c26b973
1 changed files with 2 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Reference in a new issue