]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/search_controller.rb
Merge branch 'p' of https://github.com/jfirebaugh/openstreetmap-website into jfirebaugh-p
[rails.git] / app / controllers / search_controller.rb
index 4b8b2f402509655cb8efd5ed046fa54bc50ba324..0d40b6691ab4e69e6fac431004d61a9327522e64 100644 (file)
@@ -91,7 +91,7 @@ class SearchController < ApplicationController
     end
 
     relations.each do |rel|
     end
 
     relations.each do |rel|
-      doc.root << rel.to_xml_node(nil, changeset_cache, user_display_name_cache)
+      doc.root << rel.to_xml_node(changeset_cache, user_display_name_cache)
     end
 
     render :xml => doc.to_s
     end
 
     render :xml => doc.to_s