Skip to content

Commit

Permalink
pkp#10751 fixed missing UserUserGroup::withUserGroupIds int to array …
Browse files Browse the repository at this point in the history
…conversion
  • Loading branch information
touhidurabir committed Jan 6, 2025
1 parent 9fd3940 commit a93422e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/userGroup/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function userInGroup(int $userId, int $userGroupId): bool
{
return UserUserGroup::query()
->withUserId($userId)
->withUserGroupIds($userGroupId)
->withUserGroupIds([$userGroupId])
->withActive()
->exists();
}
Expand Down

0 comments on commit a93422e

Please sign in to comment.