]> source.dussan.org Git - redmine.git/commitdiff
Merged r9381 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Apr 2012 04:50:58 +0000 (04:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Apr 2012 04:50:58 +0000 (04:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9398 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index a9cf065e9584305601432fcd4f73259b48a78950..422c9a74cb2de9c02ea2160b99e81d429934c143 100644 (file)
@@ -332,7 +332,7 @@ module IssuesHelper
             cv = issue.custom_field_values.detect {|v| v.custom_field_id == column.custom_field.id}
             show_value(cv)
           else
-            value = issue.send(column.name)
+            value = column.value(issue)
             if value.is_a?(Date)
               format_date(value)
             elsif value.is_a?(Time)