X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/00375024263970a43ea7d39e3c65dfd0f32e8869..c4edac9fd8ca44c3a0c8a9dbee611f872fffe14b:/app/views/notes/index.rss.builder

diff --git a/app/views/notes/index.rss.builder b/app/views/notes/index.rss.builder
index d6ee2bbad..53806f502 100644
--- a/app/views/notes/index.rss.builder
+++ b/app/views/notes/index.rss.builder
@@ -8,6 +8,6 @@ xml.rss("version" => "2.0",
     xml.description t('note.rss.description_area', :min_lat => @min_lat, :min_lon => @min_lon, :max_lat => @max_lat, :max_lon => @max_lon )
     xml.link url_for(:controller => "site", :action => "index", :only_path => false)
 
-    xml << render(:partial => "note", :collection => @notes)
+    xml << (render(:partial => "note", :collection => @notes) || "")
   end
 end