Arrays of object IDs are a bad idea.
authorTom Hughes <tom@compton.nu>
Fri, 15 May 2009 09:18:10 +0000 (09:18 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 15 May 2009 09:18:10 +0000 (09:18 +0000)
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 = {}