From: joshuaruesweg Date: Thu, 4 Feb 2021 15:31:25 +0000 (+0100) Subject: Add missing parentheses X-Git-Tag: 5.4.0_Alpha_1~310 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=312e6efadd9bfc2dfd92007e8c7e773515191b16;p=GitHub%2FWoltLab%2FWCF.git Add missing parentheses --- 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(); }