diff options
Diffstat (limited to 'lib/tasks/migrate_from_mantis.rake')
-rw-r--r-- | lib/tasks/migrate_from_mantis.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/migrate_from_mantis.rake b/lib/tasks/migrate_from_mantis.rake index 499dc7b93..d27ef77d3 100644 --- a/lib/tasks/migrate_from_mantis.rake +++ b/lib/tasks/migrate_from_mantis.rake @@ -284,7 +284,7 @@ task :migrate_from_mantis => :environment do # Project members
project.members.each do |member|
m = Member.new :user => User.find_by_id(users_map[member.user_id]),
- :role => ROLE_MAPPING[member.access_level] || DEFAULT_ROLE
+ :roles => [ROLE_MAPPING[member.access_level] || DEFAULT_ROLE]
m.project = p
m.save
end
|