summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-10-14 19:27:24 +0000
committeralecpl <alec@alec.pl>2011-10-14 19:27:24 +0000
commit54b0d86aad28e67c07644a81e6917f1f53581d25 (patch)
tree9ff45e88d195ebfec570ac02dc3e342c7b1856b3 /program/include/rcube_ldap.php
parentfb6cc8942a4720d58f9758eb2d71610cb1084851 (diff)
- Fix %dn replacement
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 76591e6cc..f33db0cf4 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -228,7 +228,7 @@ class rcube_ldap extends rcube_addressbook
if ($bind_dn) {
$dn = ldap_explode_dn($bind_dn, 1);
- $replaces['%dn'] = $dn[0];
+ $replaces = array('%dn' => $dn[0]) + $replaces;
}
}
}