GitLab steht Mittwoch, den 23. September, zwischen 10:00 und 12:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

Commit ce006e3c authored by jplang's avatar jplang

Don't generate duplicate ids.

git-svn-id: https://svn.redmine.org/redmine/trunk@11344 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b7adcc84
......@@ -317,7 +317,7 @@ module ApplicationHelper
def principals_check_box_tags(name, principals)
s = ''
principals.each do |principal|
s << "<label>#{ check_box_tag name, principal.id, false } #{h principal}</label>\n"
s << "<label>#{ check_box_tag name, principal.id, false, :id => nil } #{h principal}</label>\n"
end
s.html_safe
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment