X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fbd6909b91a4118c217e34b9149dbacee79fe449..6c2093b29d74b145b85e61c4fff09b5f13afa0e5:/app/models/changeset.rb diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 1aa1e1fd3..4d305ea44 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -106,6 +106,7 @@ class Changeset < ActiveRecord::Base pt.find("tag").each do |tag| raise OSM::APIBadXMLError.new("changeset", pt, "tag is missing key") if tag["k"].nil? raise OSM::APIBadXMLError.new("changeset", pt, "tag is missing value") if tag["v"].nil? + cs.add_tag_keyval(tag["k"], tag["v"]) end