diff --git a/app/models/project.rb b/app/models/project.rb index 922f522f1..64a5e98c8 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -340,6 +340,7 @@ class Project < ActiveRecord::Base project.members.each do |member| new_member = Member.new new_member.attributes = member.attributes.dup.except("project_id") + new_member.role_ids = member.role_ids.dup new_member.project = self self.members << new_member end