From 6aea8d4639774cbb21e79795961c59f8e2300b35 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 16 May 2022 16:54:01 +0200 Subject: [PATCH] Email address was not visible in listing of group members --- wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php index 2fb9fa4a1d..d6d4ba8e55 100755 --- a/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserSearchForm.class.php @@ -115,6 +115,11 @@ class UserSearchForm extends UserOptionListForm $this->columns = $defaultColumns; + // add email column for authorized users + if (WCF::getSession()->getPermission('admin.user.canEditMailAddress')) { + \array_unshift($this->columns, 'email'); + } + // disable check for security token for GET requests $_POST['t'] = WCF::getSession()->getSecurityToken(); -- 2.20.1