diff --git a/app/models/procedure_revision.rb b/app/models/procedure_revision.rb index 2b1669a0e6d..f7e55bd34d1 100644 --- a/app/models/procedure_revision.rb +++ b/app/models/procedure_revision.rb @@ -41,7 +41,7 @@ def add_type_de_champ(params) after_stable_id = params.delete(:after_stable_id) after_coordinate, _ = coordinate_and_tdc(after_stable_id) - siblings = siblings_for(parent_coordinate:, private_tdc: params[:private] || params['private']) + siblings = siblings_for(parent_coordinate:, private_tdc: params[:private]) tdc = TypeDeChamp.new(params) if tdc.save