From 4f0aa2432c2c1a90fd22a32eb33868f6d50a7f49 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 13 May 2012 10:21:24 +0000 Subject: [PATCH] Fixes custom_field_tag helper broken by r9682. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9686 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/custom_fields_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index fb4e51938..ff953d857 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -51,7 +51,7 @@ module CustomFieldsHelper when "bool" hidden_field_tag(field_name, '0') + check_box_tag(field_name, '1', custom_value.true?, tag_options) when "list" - blank_option = '' + blank_option = ''.html_safe unless custom_field.multiple? if custom_field.is_required? unless custom_field.default_value.present? -- 2.39.5