diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-05 10:31:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-05 10:31:06 +0000 |
commit | f7acdd1afde3018a9f7c0a7dc3b6bd97a65670a2 (patch) | |
tree | ba4070526883885914942b3a0d253eb2a6e63bf8 /app/helpers | |
parent | 4b9df2eac774aa045aa5207c8bc613ed6ca67d42 (diff) | |
download | redmine-f7acdd1afde3018a9f7c0a7dc3b6bd97a65670a2.tar.gz redmine-f7acdd1afde3018a9f7c0a7dc3b6bd97a65670a2.zip |
Merged hooks branch @ r1785 into trunk.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1786 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issues_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index c6de00c10..43acabd19 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -89,7 +89,8 @@ module IssuesHelper when 'attachment' label = l(:label_attachment) end - + call_hook(:helper_issues_show_detail_after_setting, {:detail => detail, :label => label, :value => value, :old_value => old_value }) + label ||= detail.prop_key value ||= detail.value old_value ||= detail.old_value |