diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-11-05 16:49:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-11-05 16:49:27 +0000 |
commit | 3628515b312c96d35fd1ec3a21b58ccfb3731a67 (patch) | |
tree | 497663aba7751e56505f7a64cc68b6d2961a9f77 /redmine/app/helpers/custom_fields_helper.rb | |
parent | 51e0989c491972578d3f3bb241df8f7dbee4c1ea (diff) | |
download | redmine-3628515b312c96d35fd1ec3a21b58ccfb3731a67.tar.gz redmine-3628515b312c96d35fd1ec3a21b58ccfb3731a67.zip |
git-svn-id: http://redmine.rubyforge.org/svn/trunk@38 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'redmine/app/helpers/custom_fields_helper.rb')
-rw-r--r-- | redmine/app/helpers/custom_fields_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redmine/app/helpers/custom_fields_helper.rb b/redmine/app/helpers/custom_fields_helper.rb index 8eb16de0d..38cb9df5e 100644 --- a/redmine/app/helpers/custom_fields_helper.rb +++ b/redmine/app/helpers/custom_fields_helper.rb @@ -57,7 +57,7 @@ module CustomFieldsHelper case custom_value.custom_field.field_format
when "date"
- l_date(custom_value.value.to_date) if custom_value.value
+ custom_value.value.empty? ? "" : l_date(custom_value.value.to_date)
when "bool"
l_YesNo(custom_value.value == "1")
else
|