diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f671d87f7..15aa665a0 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -421,7 +421,7 @@ class ApplicationController < ActionController::Base end def replace_none_values_with_blank(params) - attributes = (params || {})) + attributes = (params || {}) attributes.each_key {|k| attributes[k] = '' if attributes[k] == 'none'} if (custom = attributes[:custom_field_values]) custom.each_key do |k|