X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/afcb345014d98914cd4f5d6b14ca2e30feac194c..66c95aa3f909f9887593fd16174d1d8a966cad2e:/app/controllers/amf_controller.rb diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index e701f2170..1ee5e9cee 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -490,8 +490,8 @@ class AmfController < ApplicationController new_relation.changeset_id = changeset_id new_relation.version = version - - if id <= 0 + # NOTE: id or relid here? id doesn't seem to be set above + if relid <= 0 # We're creating the node new_relation.create_with_history(user) elsif visible