From 72f7ac95b482148beb4080aca2baf1456ad5c67d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 26 Jan 2021 12:51:33 +0200 Subject: [PATCH] fix empty accounts addressbook after 20.1.20210125 update --- api/src/Contacts/Ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Contacts/Ldap.php b/api/src/Contacts/Ldap.php index e48808f855..7ba69e8843 100644 --- a/api/src/Contacts/Ldap.php +++ b/api/src/Contacts/Ldap.php @@ -346,7 +346,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)"; }