Commit 001ec7d9 authored by jplang's avatar jplang

Remove invalid escaping in version field (#4460).

git-svn-id: https://svn.redmine.org/redmine/trunk@3230 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent e68eec94
......@@ -74,11 +74,11 @@ module ProjectsHelper
def version_options_for_select(versions, selected=nil)
grouped = Hash.new {|h,k| h[k] = []}
versions.each do |version|
grouped[version.project.name] << [h(version.name), version.id]
grouped[version.project.name] << [version.name, version.id]
end
# Add in the selected
if selected && !versions.include?(selected)
grouped[selected.project.name] << [h(selected.name), selected.id]
grouped[selected.project.name] << [selected.name, selected.id]
end
if grouped.keys.size > 1
......
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