Skip to content

Commit

Permalink
Correct reference to old function get_dn()
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarip committed Aug 2, 2014
1 parent 05ea610 commit 8ee8be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/lib/Roundcube/rcube_ldap.php
Expand Up @@ -333,7 +333,7 @@ private function _connect()
$res = $ldap->search($search_base_dn, $search_filter, 'sub', $search_attribs);
if ($res) {
$res->rewind();
$replaces['%dn'] = $res->get_dn();
$replaces['%dn'] = key($res->entries(TRUE));

// add more replacements from 'search_bind_attrib' config
if ($search_bind_attrib) {
Expand Down

0 comments on commit 8ee8be9

Please sign in to comment.