From b7688b179852c9a597fd61ed04e0690b50357f7f Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 18 Jul 2012 11:05:10 +0200 Subject: [PATCH] Fixes bug in AbstractObjectTypeProvider --- .../lib/data/object/type/AbstractObjectTypeProvider.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.20.1