? beta3.patch
Index: xmlsitemap/xmlsitemap.pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlsitemap/xmlsitemap/Attic/xmlsitemap.pages.inc,v
retrieving revision 1.1.2.19
diff -u -r1.1.2.19 xmlsitemap.pages.inc
--- xmlsitemap/xmlsitemap.pages.inc	12 May 2009 20:35:27 -0000	1.1.2.19
+++ xmlsitemap/xmlsitemap.pages.inc	23 May 2009 23:39:32 -0000
@@ -36,11 +36,6 @@
       $chunk_size = $new_size;
     }
   }
-  if (!$link_count || (isset($chunk) && !preg_match('/[0-9]+/', $chunk))) {
-    $user = $original_user;
-    session_save_session(TRUE);
-    _xmlsitemap_print_empty_sitemap();
-  }
   $id = xmlsitemap_cache_id();
   if (variable_get('xmlsitemap_sitemap_needs_update', FALSE)) {
     @set_time_limit(240);
