diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-27 08:25:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-27 08:25:12 +0000 |
commit | 55d41cf77bb5d24d9899876943bc5e9e8e1cf28f (patch) | |
tree | a3b7c9cf38d1606057010929e8215b5fed626913 /app/helpers/timelog_helper.rb | |
parent | 88a713c719c77792da7209f0387d1d73efa96271 (diff) | |
download | redmine-55d41cf77bb5d24d9899876943bc5e9e8e1cf28f.tar.gz redmine-55d41cf77bb5d24d9899876943bc5e9e8e1cf28f.zip |
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
Diffstat (limited to 'app/helpers/timelog_helper.rb')
-rw-r--r-- | app/helpers/timelog_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb index 86acfe586..ed944b282 100644 --- a/app/helpers/timelog_helper.rb +++ b/app/helpers/timelog_helper.rb @@ -132,7 +132,7 @@ module TimelogHelper elsif k = @available_criterias[criteria][:klass] obj = k.find_by_id(value.to_i) 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 obj end |