|
|
|
@ -215,7 +215,7 @@ class rcmail extends rcube
|
|
|
|
|
$domain = $this->config->mail_domain($_SESSION['storage_host']);
|
|
|
|
|
$username_domain = $this->config->get('username_domain');
|
|
|
|
|
$domain = is_array($username_domain) ? $username_domain[$domain] : $domain;
|
|
|
|
|
$contacts = new rcube_ldap($ldap_config[$id], $this->config->get('ldap_debug'), $domain);
|
|
|
|
|
$contacts = new rcube_ldap($ldap_config[$id], $this->config->get('ldap_debug'), $domain);
|
|
|
|
|
}
|
|
|
|
|
else if ($id === '0') {
|
|
|
|
|
$contacts = new rcube_contacts($this->db, $this->get_user_id());
|
|
|
|
|