diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-02 19:52:43 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-08 17:13:50 +0100 |
commit | 9440e9bb1e9079e9b6217788e89a398cc272320c (patch) | |
tree | 5715061b813d30ffdb0e18f23fba3e5502ec4af4 /settings/Controller | |
parent | e6a7a9f251cd77a7b571716bbc679687a548cc47 (diff) | |
download | nextcloud-server-9440e9bb1e9079e9b6217788e89a398cc272320c.tar.gz nextcloud-server-9440e9bb1e9079e9b6217788e89a398cc272320c.zip |
Fixed Controller Test
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php index 6a067a6b59d..2558c2e2c3b 100644 --- a/settings/Controller/UsersController.php +++ b/settings/Controller/UsersController.php @@ -341,7 +341,7 @@ class UsersController extends Controller { foreach ($batch as $user) { // Only add the groups, this user is a subadmin of $userGroups = array_values(array_intersect( - $this->groupManager->getUserGroupNames($user), + $this->groupManager->getUserGroupIds($user), $subAdminOfGroups )); if (($gid !== '_disabledUsers' && $user->isEnabled()) || |