From: Matthias Schmidt Date: Sun, 27 Mar 2016 15:20:21 +0000 (+0200) Subject: Fix AbstractRuntimeCache::fetchObjects() X-Git-Tag: 3.0.0_Beta_1~1286^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8cce8d78446fc2ce4daa56fa1ceb6ce3b640e6c5;p=GitHub%2FWoltLab%2FWCF.git Fix AbstractRuntimeCache::fetchObjects() --- diff --git a/wcfsetup/install/files/lib/system/cache/runtime/AbstractRuntimeCache.class.php b/wcfsetup/install/files/lib/system/cache/runtime/AbstractRuntimeCache.class.php index 04f2dcd201..ea7c450ce7 100644 --- a/wcfsetup/install/files/lib/system/cache/runtime/AbstractRuntimeCache.class.php +++ b/wcfsetup/install/files/lib/system/cache/runtime/AbstractRuntimeCache.class.php @@ -58,7 +58,7 @@ abstract class AbstractRuntimeCache extends SingletonFactory implements IRuntime protected function fetchObjects() { /** @var DatabaseObjectList $objectList */ $objectList = new $this->listClassName; - $objectList->setObjectIDs($this->objectIDs); + $objectList->setObjectIDs(array_values($this->objectIDs)); $objectList->readObjects(); $this->objects += $objectList->getObjects();