diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-14 04:50:58 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-14 04:50:58 +0000 |
commit | 32fd503cbbdfcd8492d162bd591a98602af97c54 (patch) | |
tree | 847487010ad760a7138ecc96fc8c9e69ef86ae61 /app/helpers/issues_helper.rb | |
parent | cf31aeaf8131f0f35c261b1a5d783de83e59fcd1 (diff) | |
download | redmine-32fd503cbbdfcd8492d162bd591a98602af97c54.tar.gz redmine-32fd503cbbdfcd8492d162bd591a98602af97c54.zip |
Merged r9381 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9398 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r-- | app/helpers/issues_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index a9cf065e9..422c9a74c 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -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) |