summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
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)