Fix AbstractRuntimeCache::fetchObjects()
authorMatthias Schmidt <gravatronics@live.com>
Sun, 27 Mar 2016 15:20:21 +0000 (17:20 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 27 Mar 2016 15:20:21 +0000 (17:20 +0200)
wcfsetup/install/files/lib/system/cache/runtime/AbstractRuntimeCache.class.php

index 04f2dcd2018c478de573b73c7a8d568c2100dd0b..ea7c450ce7394da35389ec9aba12ff1b54d82128 100644 (file)
@@ -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();