Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-15 12:04:25 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-15 12:04:25 +0400
commit39ab7527d41c2351b82398947307f3d668f06944 (patch)
tree4f2403893dc8a75af4a62774f6e1ded792022fae /app/models/project_team.rb
parentbdbadebe3e6e25180d8c1465dde4573fa0ecc389 (diff)
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.rb2
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