From ec0f75a8cc15b9b5b9719ce8211096300986b196 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 26 Jan 2012 17:23:57 +0100 Subject: [PATCH] Small optimization --- wcfsetup/install/files/lib/data/DatabaseObjectList.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/data/DatabaseObjectList.class.php b/wcfsetup/install/files/lib/data/DatabaseObjectList.class.php index 389b297825..4fdef16772 100644 --- a/wcfsetup/install/files/lib/data/DatabaseObjectList.class.php +++ b/wcfsetup/install/files/lib/data/DatabaseObjectList.class.php @@ -172,6 +172,7 @@ abstract class DatabaseObjectList implements \Countable, ITraversableObject { $this->indexToObject[] = $objectID; } + $this->objectIDs = $this->indexToObject; $this->objects = $objects; } -- 2.20.1