HTML escape at app/helpers/reports_helper.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6354 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-02 12:51:00 +00:00
parent 79ff599223
commit 17d788b7a2
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,6 @@ module ReportsHelper
def aggregate_link(data, criteria, *args) def aggregate_link(data, criteria, *args)
a = aggregate data, criteria a = aggregate data, criteria
a > 0 ? link_to(a, *args) : '-' a > 0 ? link_to(h(a), *args) : '-'
end end
end end