diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-13 10:21:24 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-13 10:21:24 +0000 |
commit | 4f0aa2432c2c1a90fd22a32eb33868f6d50a7f49 (patch) | |
tree | fc46c766fa6d459ac368c3b050572e45088b12b6 /app/helpers | |
parent | 426b1d6fcd106f3868414d2a4f69196583fb531e (diff) | |
download | redmine-4f0aa2432c2c1a90fd22a32eb33868f6d50a7f49.tar.gz redmine-4f0aa2432c2c1a90fd22a32eb33868f6d50a7f49.zip |
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
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/custom_fields_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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? |