diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-03-11 17:21:46 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-03-11 17:21:46 -0700 |
commit | 77d2d3cf53b9005fadac8740472aaf620503b6d7 (patch) | |
tree | 12df8df9aa3d59f87cffeb8fd9ddfa4d5f89db1a /apps/provisioning_api/lib | |
parent | f99b820cd0e59b75bc8867a03dabc9e28157ccdf (diff) | |
download | nextcloud-server-77d2d3cf53b9005fadac8740472aaf620503b6d7.tar.gz nextcloud-server-77d2d3cf53b9005fadac8740472aaf620503b6d7.zip |
fix(settings): Fix always empty disabled users list for subadmins
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 3d0cbd43124..1833166a4c6 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -256,7 +256,7 @@ class UsersController extends AUserData { fn (IUser $user): string => $user->getUID(), array_filter( $group->searchUsers('', ($tempLimit === null ? null : $tempLimit - count($users))), - fn (IUser $user): bool => $user->isEnabled() + fn (IUser $user): bool => !$user->isEnabled() ) ) ); |