summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-02 12:20:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-02 12:20:05 +0000
commit3ae8c53cbaf3f14ff5a324eea3b95e674d7e0ebf (patch)
tree2587bd4162ff4daeff9d9dd8242a159b872e4e2a /app
parenteb6ab2af50e53cf4a8037390536b5501719863e0 (diff)
downloadredmine-3ae8c53cbaf3f14ff5a324eea3b95e674d7e0ebf.tar.gz
redmine-3ae8c53cbaf3f14ff5a324eea3b95e674d7e0ebf.zip
Small fix in issue history display.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@695 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issues_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 9d3f877a1..756f142fa 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -63,10 +63,10 @@ module IssuesHelper
value = content_tag("i", h(value)) if value
end
- if detail.value and !detail.value.to_s.empty?
+ if !detail.value.blank?
case detail.property
when 'attr', 'cf'
- if old_value
+ if !detail.old_value.blank?
label + " " + l(:text_journal_changed, old_value, value)
else
label + " " + l(:text_journal_set_to, value)