]> source.dussan.org Git - redmine.git/commitdiff
Small fix in issue history display.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 2 Sep 2007 12:20:05 +0000 (12:20 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 2 Sep 2007 12:20:05 +0000 (12:20 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@695 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index 9d3f877a1094aaf93a8043767babbba64326870d..756f142fa5b4c0dbf54d47fb62376c39c72e76fd 100644 (file)
@@ -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)