summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-02 15:39:38 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-02 15:39:38 +0000
commitf488ee8b0a2fc7df9d68c33b9bfa2be271b0fc4b (patch)
tree523886b9cf5fbf127b45145081b926dd3927d0a6 /app
parent65959100f469834cb9becfeb0f2bbecd83105dba (diff)
downloadredmine-f488ee8b0a2fc7df9d68c33b9bfa2be271b0fc4b.tar.gz
redmine-f488ee8b0a2fc7df9d68c33b9bfa2be271b0fc4b.zip
Missing html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8473 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/custom_fields_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb
index 8490cf9a1..68e7d987d 100644
--- a/app/helpers/custom_fields_helper.rb
+++ b/app/helpers/custom_fields_helper.rb
@@ -51,7 +51,7 @@ module CustomFieldsHelper
blank_option = custom_field.is_required? ?
(custom_field.default_value.blank? ? "<option value=\"\">--- #{l(:actionview_instancetag_blank_option)} ---</option>" : '') :
'<option></option>'
- select_tag(field_name, blank_option + options_for_select(custom_field.possible_values_options(custom_value.customized), custom_value.value), :id => field_id)
+ select_tag(field_name, blank_option.html_safe + options_for_select(custom_field.possible_values_options(custom_value.customized), custom_value.value), :id => field_id)
else
text_field_tag(field_name, custom_value.value, :id => field_id)
end