Fix save count of objects
authorCyperghost <olaf_schmitz_1@t-online.de>
Tue, 23 Jan 2024 13:41:36 +0000 (14:41 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Tue, 23 Jan 2024 13:41:36 +0000 (14:41 +0100)
wcfsetup/install/files/lib/system/worker/BulkProcessingWorker.class.php

index eafbb9c2d9d04aa4861353fd6ae5a6aef60e73e3..4e3e32f641002b26e1adb89d34dab8bcb5e7ed89 100644 (file)
@@ -51,7 +51,7 @@ final class BulkProcessingWorker extends AbstractWorker
     #[\Override]
     public function countObjects()
     {
-        return \count($this->bulkProcessingData['objectIDs']);
+        $this->count = \count($this->bulkProcessingData['objectIDs']);
     }
 
     #[\Override]