diff options
Diffstat (limited to 'extensions/SiteMapIndex/lib')
-rw-r--r-- | extensions/SiteMapIndex/lib/Util.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/SiteMapIndex/lib/Util.pm b/extensions/SiteMapIndex/lib/Util.pm index 3c322d8c7..6b5491d1c 100644 --- a/extensions/SiteMapIndex/lib/Util.pm +++ b/extensions/SiteMapIndex/lib/Util.pm @@ -112,8 +112,8 @@ sub generate_sitemap { last if !@$bugs; - # We only need the product links in the first sitemap file - $products = [] if $filecount > 1; + # We only need the product links in the first sitemap file + $products = [] if $filecount > 1; push(@$filelist, _generate_sitemap_file($extension_name, $filecount, $products, $bugs)); |