Explorar el Código

Fix typo (#33521).

git-svn-id: http://svn.redmine.org/redmine/trunk@21140 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.0.0
Marius Balteanu hace 2 años
padre
commit
16b8d3c0be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/controllers/application_controller.rb

+ 1
- 1
app/controllers/application_controller.rb Ver fichero

@@ -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|

Cargando…
Cancelar
Guardar