diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 6cf09c8ab..be908562b 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -43,7 +43,7 @@ module CustomFieldsHelper ] def render_custom_fields_tabs(types) - tabs = CUSTOM_FIELDS_TABS.select {|h| types.include?(h[:name]) } + tabs = CUSTOM_FIELDS_TABS.select {|h| types.include?(h[:name])} render_tabs tabs end