From: Matthias Schmidt Date: Wed, 18 Jul 2012 09:05:10 +0000 (+0200) Subject: Fixes bug in AbstractObjectTypeProvider X-Git-Tag: 2.0.0_Beta_1~981^2~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7688b179852c9a597fd61ed04e0690b50357f7f;p=GitHub%2FWoltLab%2FWCF.git Fixes bug in AbstractObjectTypeProvider --- diff --git a/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php b/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php index 83938a8d22..34d7126b41 100644 --- a/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php +++ b/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProvider.class.php @@ -35,8 +35,8 @@ abstract class AbstractObjectTypeProvider implements IObjectTypeProvider { * @see wcf\data\object\type\IObjectTypeProvider::getObjectsByIDs() */ public function getObjectsByIDs(array $objectIDs) { - $tableAlias = call_user_func($this->className, 'getDatabaseTableAlias'); - $tableIndex = call_user_func($this->className, 'getDatabaseTableIndexName'); + $tableAlias = call_user_func(array($this->className, 'getDatabaseTableAlias')); + $tableIndex = call_user_func(array($this->className, 'getDatabaseTableIndexName')); $objectList = new $this->listClassName(); $objectList->getConditionBuilder()->add($tableAlias.".".$tableIndex." IN (?)", array($objectIDs));