diff options
author | David Lawrence <dlawrence@mozilla.com> | 2011-10-05 00:43:47 +0200 |
---|---|---|
committer | David Lawrence <dlawrence@mozilla.com> | 2011-10-05 00:43:47 +0200 |
commit | befdcc8f9a30f55e91227bac0ee1813a661002b3 (patch) | |
tree | 34daa9fe986e9cc42e803f6dc8b382e2f05feb4a /extensions/SiteMapIndex/lib | |
parent | 8592e84f5d251a284f09fae2947101715e094a78 (diff) | |
download | bugzilla-befdcc8f9a30f55e91227bac0ee1813a661002b3.tar.gz bugzilla-befdcc8f9a30f55e91227bac0ee1813a661002b3.tar.xz |
more porting work
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 6b5491d1c..3c322d8c7 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)); |