HTML escape at app/helpers/timelog_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6356 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5cd6aa0a09
commit
fb8f3a7ada
|
@ -129,7 +129,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? ? "#{obj.tracker} ##{obj.id}: #{obj.subject}" : "##{obj.id}"
|
obj.visible? ? h("#{obj.tracker} ##{obj.id}: #{obj.subject}") : h("##{obj.id}")
|
||||||
else
|
else
|
||||||
obj
|
obj
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue