diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-06-04 10:27:30 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-06-04 10:27:30 +0000 |
commit | 4550ab3d1e6573dd06744875ea75fca9f9c88f7a (patch) | |
tree | a025e588989c99c7014735d1a10d88de8fe40dc1 /app/views/roles | |
parent | beee537c2be0bd00ca84929f146abf5f4343ad4e (diff) | |
download | redmine-4550ab3d1e6573dd06744875ea75fca9f9c88f7a.tar.gz redmine-4550ab3d1e6573dd06744875ea75fca9f9c88f7a.zip |
Merged r15450.
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15451 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/roles')
-rw-r--r-- | app/views/roles/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/roles/_form.html.erb b/app/views/roles/_form.html.erb index 33fc08d5e..84d5de185 100644 --- a/app/views/roles/_form.html.erb +++ b/app/views/roles/_form.html.erb @@ -31,7 +31,7 @@ </label> <% Role.givable.sorted.each do |role| %> <label class="block role_managed_role" style="padding-left:2em;"> - <%= check_box_tag 'role[managed_role_ids][]', role.id, @role.managed_roles.include?(role), :id => nil %> + <%= check_box_tag 'role[managed_role_ids][]', role.id, @role.managed_roles.to_a.include?(role), :id => nil %> <%= role.name %> </label> <% end %> |