diff options
Diffstat (limited to 'app/models/project_team.rb')
-rw-r--r-- | app/models/project_team.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_team.rb b/app/models/project_team.rb index 5641fbfb867..dd200aec807 100644 --- a/app/models/project_team.rb +++ b/app/models/project_team.rb @@ -121,7 +121,7 @@ class ProjectTeam target_project = project source_members = source_project.project_members.to_a - target_user_ids = target_project.project_members.pluck(:user_id) + target_user_ids = target_project.project_members.pluck_user_ids source_members.reject! do |member| # Skip if user already present in team |