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:
parent
79ff599223
commit
17d788b7a2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue