From 7c27fb7c1d9866f68b9e444cd3af68256cdc637a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 26 Jan 2007 18:55:02 +0000 Subject: [PATCH] fixed: crash when changing the status of an issue git-svn-id: http://redmine.rubyforge.org/svn/trunk@183 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/issues_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index cacc7f532..57fb01600 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -61,7 +61,7 @@ module IssuesHelper value = content_tag("i", h(value)) if value end - if detail.value and !detail.value.empty? + if detail.value and !detail.value.to_s.empty? if old_value label + " " + l(:text_journal_changed, old_value, value) else