Skip to content

Commit

Permalink
Merge pull request #44150 from nextcloud/backport/44140/stable28
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Mar 14, 2024
2 parents 23e9c97 + 86cdab3 commit ea9e01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/provisioning_api/lib/Controller/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function getDisabledUsersDetails(?int $limit = null, int $offset = 0): Da
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()
)
)
);
Expand Down

0 comments on commit ea9e01e

Please sign in to comment.