From 312e6efadd9bfc2dfd92007e8c7e773515191b16 Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Thu, 4 Feb 2021 16:31:25 +0100 Subject: [PATCH] Add missing parentheses --- .../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 7b5c938841..10daad9ad2 100755 --- a/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php @@ -151,7 +151,7 @@ class SitemapRebuildWorker extends AbstractRebuildDataWorker } // check whether we should rebuild it - if (!isset($this->parameters['forceRebuild']) || !$this->parameters['forceRebuild'] && !$this->workerData['finished']) { + if ((!isset($this->parameters['forceRebuild']) || !$this->parameters['forceRebuild']) && !$this->workerData['finished']) { $this->checkCache(); } -- 2.20.1