Use PHP 5 syntax
authorMatthias Schmidt <gravatronics@live.com>
Thu, 5 May 2016 14:33:05 +0000 (16:33 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 5 May 2016 14:33:05 +0000 (16:33 +0200)
wcfsetup/install/files/lib/system/box/UserListBoxController.class.php

index c495d9fbea2d2c3c41e5abdc88e0641ba22ba4b4..9b5fa4a69c567317adb8aa24a8761116508a5376 100644 (file)
@@ -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
                        ]);