backout r6356: HTML escape of app/helpers/timelog_helper.rb
When export time entry csv, "undefined method `h'" error raises. HTML escapes in view. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7941 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
88a713c719
commit
55d41cf77b
|
@ -132,7 +132,7 @@ module TimelogHelper
|
||||||
elsif k = @available_criterias[criteria][:klass]
|
elsif k = @available_criterias[criteria][:klass]
|
||||||
obj = k.find_by_id(value.to_i)
|
obj = k.find_by_id(value.to_i)
|
||||||
if obj.is_a?(Issue)
|
if obj.is_a?(Issue)
|
||||||
obj.visible? ? h("#{obj.tracker} ##{obj.id}: #{obj.subject}") : h("##{obj.id}")
|
obj.visible? ? "#{obj.tracker} ##{obj.id}: #{obj.subject}" : "##{obj.id}"
|
||||||
else
|
else
|
||||||
obj
|
obj
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue