]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
now you will actually save the changeset on updating ways. Showing the changeset...
[rails.git] / app / models / way.rb
index 341bc6e3ece589f3495e5d2e41a99626d12dba71..f26d7658b14589eb0b81187c2cb42882db37b9a2 100644 (file)
@@ -212,7 +212,7 @@ class Way < ActiveRecord::Base
     if !new_way.preconditions_ok?
       raise OSM::APIPreconditionFailedError.new
     end
-    self.changeset_id = changeset_id
+    self.changeset_id = new_way.changeset_id
     self.tags = new_way.tags
     self.nds = new_way.nds
     self.visible = true