diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-17 03:53:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-17 03:53:10 +0300 |
commit | b562a203320f7ea9e13917bf49fa8066c0aca6d4 (patch) | |
tree | 0cc279ee16b98bd5e9bfdb5814ea43b31c025e82 /app/models | |
parent | a84fa039e5dafa3ce7cde0869683ed2fdf5a38a4 (diff) |
Add latest changes from gitlab-org/gitlab@16-6-stable-ee
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 51c26767569..70831573dfc 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -515,7 +515,7 @@ class Group < Namespace members_from_hiearchy.all_owners.non_invite.each_batch do |relation| owners += relation.preload(:user).load.reject do |member| - member.user.project_bot? + member.user.nil? || member.user.project_bot? end end |