From fcb1a300b12aef2466e50f884e71d7a0a91a64bd Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 5 May 2016 16:33:05 +0200 Subject: [PATCH] Use PHP 5 syntax --- .../files/lib/system/box/UserListBoxController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php index c495d9fbea..9b5fa4a69c 100644 --- a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php @@ -85,7 +85,7 @@ class UserListBoxController extends AbstractDatabaseObjectListBoxController { protected function getObjectList() { // use specialized cache builders if ($this->box->sortOrder && $this->box->sortField && isset($this->cacheBuilders[$this->box->sortField])) { - $this->userIDs = $this->cacheBuilders[$this->box->sortField]::getInstance()->getData([ + $this->userIDs = call_user_func([$this->cacheBuilders[$this->box->sortField], 'getInstance'])->getData([ 'limit' => $this->box->limit, 'sortOrder' => $this->sortOrder ]); -- 2.20.1