From 3ae8c53cbaf3f14ff5a324eea3b95e674d7e0ebf Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 2 Sep 2007 12:20:05 +0000 Subject: [PATCH] Small fix in issue history display. git-svn-id: http://redmine.rubyforge.org/svn/trunk@695 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/issues_helper.rb | 4 ++-- 1 file 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) -- 2.39.5