fix empty accounts addressbook after 20.1.20210125 update

This commit is contained in:
Ralf Becker 2021-01-26 12:51:33 +02:00
parent c1b623d259
commit 72f7ac95b4

View File

@ -346,7 +346,7 @@ class Ldap
// add ldap_search_filter from admin // add ldap_search_filter from admin
$accounts_filter = str_replace(['%user','%domain'], ['*', $GLOBALS['egw_info']['user']['domain']], $accounts_filter = str_replace(['%user','%domain'], ['*', $GLOBALS['egw_info']['user']['domain']],
$this->ldap_config['ldap_search_filter'] ?: '(uid=%u)'); $this->ldap_config['ldap_search_filter'] ?: '(uid=%user)');
$this->accountsFilter = "(&$this->accountsFilter$accounts_filter)"; $this->accountsFilter = "(&$this->accountsFilter$accounts_filter)";
} }