From a1cbbd9297d2b09f7acd33b70a1e07679ee12379 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Thu, 10 Aug 2017 14:09:14 +0200 Subject: [PATCH] Fix closing files on splitted sitemaps See #2286 --- .../files/lib/system/worker/SitemapRebuildWorker.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php b/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php index ccec277ea4..790ed3a047 100755 --- a/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php @@ -159,7 +159,7 @@ class SitemapRebuildWorker extends AbstractWorker { if ($this->workerData['dataCount'] + $this->limit > self::SITEMAP_OBJECT_LIMIT) { $this->finishSitemap($this->sitemapObjects[$this->workerData['sitemap']]->objectType . '_' . $this->workerData['sitemapLoopCount'] . '.xml'); - $this->generateTmpFile(); + $this->generateTmpFile(false); $this->workerData['dataCount'] = 0; } -- 2.20.1