diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-15 11:04:25 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-15 11:04:25 +0300 |
commit | 39ab7527d41c2351b82398947307f3d668f06944 (patch) | |
tree | 4f2403893dc8a75af4a62774f6e1ded792022fae /app/models/project_team.rb | |
parent | bdbadebe3e6e25180d8c1465dde4573fa0ecc389 (diff) | |
download | gitlab-ce-39ab7527d41c2351b82398947307f3d668f06944.tar.gz |
Fix project member management
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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 330e2aa728c..e2af10c6899 100644 --- a/app/models/project_team.rb +++ b/app/models/project_team.rb @@ -102,7 +102,7 @@ class ProjectTeam source_team.map! do |tm| new_tm = tm.dup new_tm.id = nil - new_tm.project_id = target_project.id + new_tm.source = target_project new_tm end |