summaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-08-05 23:46:17 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-08-05 23:46:17 +0000
commit16b8d3c0be9a35c0b9ebecf6ee01e87633c133f6 (patch)
treeb233be159d4b15eda73e80600e1cf5796f9c1ee6 /app/controllers/application_controller.rb
parent7e2f3352dbebb799fef78fe9c7c58cc367e20a88 (diff)
downloadredmine-16b8d3c0be9a35c0b9ebecf6ee01e87633c133f6.tar.gz
redmine-16b8d3c0be9a35c0b9ebecf6ee01e87633c133f6.zip
Fix typo (#33521).
git-svn-id: http://svn.redmine.org/redmine/trunk@21140 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
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|