1. Shlomi Fish
  2. redmine

Commits

Toshi MARUYAMA  committed 8e7e4bf

backout r6356: HTML escape of app/helpers/timelog_helper.rb

When export time entry csv, "undefined method `h'" error raises.
HTML escapes in view.

  • Participants
  • Parent commits d352bd4
  • Branches default

Comments (0)

Files changed (1)

File app/helpers/timelog_helper.rb

View file
     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