Add missing parentheses
authorjoshuaruesweg <ruesweg@woltlab.com>
Thu, 4 Feb 2021 15:31:25 +0000 (16:31 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Thu, 4 Feb 2021 15:31:49 +0000 (16:31 +0100)
wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php

index 7b5c938841d5006987332ffad32acbac0870dc40..10daad9ad2ab8fd6bec43887c09dd3580c3a6c53 100755 (executable)
@@ -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();
             }