]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/relation_controller.rb
Arrays of object IDs are a bad idea.
[rails.git] / app / controllers / relation_controller.rb
index 63e58819b11efe29e2106b58f6bf244107e23bf5..2171f6cc43970944fc2d2937600a611114130e27 100644 (file)
@@ -119,7 +119,7 @@ class RelationController < ApplicationController
         # create XML.
         doc = OSM::API.new.get_xml_doc
         visible_nodes = {}
-        visible_members = { "Node" => [], "Way" => [], "Relation" => [] }
+        visible_members = { "Node" => {}, "Way" => {}, "Relation" => {} }
         changeset_cache = {}
         user_display_name_cache = {}