diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 9d3f877a..756f142f 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)