mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-03 06:09:41 +00:00
Test broken by r16381 (#25289).
git-svn-id: http://svn.redmine.org/redmine/trunk@16384 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ff6d8c6f5c
commit
d171aa8398
@ -183,7 +183,7 @@ class Member < ActiveRecord::Base
|
||||
members = []
|
||||
if attributes
|
||||
project_ids = Array.wrap(attributes[:project_ids] || attributes[:project_id])
|
||||
role_ids = attributes[:role_ids]
|
||||
role_ids = Array.wrap(attributes[:role_ids])
|
||||
project_ids.each do |project_id|
|
||||
member = Member.find_or_new(project_id, principal)
|
||||
member.role_ids |= role_ids
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user