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 1259ae8d04
commit 511325570a

View File

@ -356,7 +356,7 @@ class Ldap
// add ldap_search_filter from admin
$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)";
}