]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/users/index.xml.builder
Merge pull request #4193 from AntonKhorev/lookup-friend
[rails.git] / app / views / api / users / index.xml.builder
index 60fcfa898efbe8aa2068d9b0dbef2f9d52cae4c5..1b284ef5e049eff412284799700433e1fb671ebf 100644 (file)
@@ -1,4 +1,4 @@
 xml.instruct! :xml, :version => "1.0"
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
 xml.instruct! :xml, :version => "1.0"
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << render(@users)
+  osm << (render(@users) || "")
 end
 end