From fe13e13d16e3f2f8c770a02e06bf25e173df1b77 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 15 May 2009 09:18:10 +0000 Subject: [PATCH] Arrays of object IDs are a bad idea. --- app/controllers/relation_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/relation_controller.rb b/app/controllers/relation_controller.rb index 63e58819b..2171f6cc4 100644 --- a/app/controllers/relation_controller.rb +++ b/app/controllers/relation_controller.rb @@ -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 = {} -- 2.43.2