From: Marcel Werk Date: Thu, 26 Jan 2012 16:23:57 +0000 (+0100) Subject: Small optimization X-Git-Tag: 2.0.0_Beta_1~1389 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec0f75a8cc15b9b5b9719ce8211096300986b196;p=GitHub%2FWoltLab%2FWCF.git Small optimization --- 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; }