From 17d788b7a29284312f964356960511f464b85769 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 12:51:00 +0000 Subject: [PATCH] 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 --- app/helpers/reports_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/reports_helper.rb b/app/helpers/reports_helper.rb index fc4d0a06c..737263365 100644 --- a/app/helpers/reports_helper.rb +++ b/app/helpers/reports_helper.rb @@ -31,6 +31,6 @@ module ReportsHelper def aggregate_link(data, criteria, *args) a = aggregate data, criteria - a > 0 ? link_to(a, *args) : '-' + a > 0 ? link_to(h(a), *args) : '-' end end -- 2.39.5