diff options
Diffstat (limited to 'app/helpers/custom_fields_helper.rb')
-rw-r--r-- | app/helpers/custom_fields_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 2a188cd0a..a6149909d 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -164,12 +164,12 @@ module CustomFieldsHelper # Return a string used to display a custom value def show_value(custom_value, html=true) - format_object(custom_value, html) + format_object(custom_value, html: html) end # Return a string used to display a custom value def format_value(value, custom_field) - format_object(custom_field.format.formatted_value(self, custom_field, value, false), false) + format_object(custom_field.format.formatted_value(self, custom_field, value, false), html: false) end # Return an array of custom field formats which can be used in select_tag |