Prevents duplicate element ids (#15191).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12236 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3578cf4d9a
commit
711982b7b3
@ -13,7 +13,8 @@
|
||||
check_box_tag(
|
||||
'user[notified_project_ids][]',
|
||||
project.id,
|
||||
@user.notified_projects_ids.include?(project.id)
|
||||
@user.notified_projects_ids.include?(project.id),
|
||||
:id => nil
|
||||
) + ' ' + h(project.name)
|
||||
)
|
||||
end %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user