- Merge commit r5517 from trunk

release-0.7
alecpl 13 years ago
parent 6f98b9100b
commit a691021389

@ -228,7 +228,7 @@ class rcube_ldap extends rcube_addressbook
$replaces = array('%dn' => '', '%dc' => $dc, '%d' => $d, '%fu' => $fu, '%u' => $u);
if ($this->prop['search_base_dn'] && $this->prop['search_filter']) {
if (!empty$this->prop['search_bind_dn']) && !empty($this->prop['search_bind_pw'])) {
if (!empty($this->prop['search_bind_dn']) && !empty($this->prop['search_bind_pw'])) {
$this->bind($this->prop['search_bind_dn'], $this->prop['search_bind_pw']);
}

Loading…
Cancel
Save