From ecb1d1639472a9ae45807f5b874fb7eea1cc3139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 17 Feb 2013 00:04:32 +0100 Subject: [PATCH] Fix method call to getGroupIDs in PermissionHandler --- file/lib/system/permission/PermissionHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/system/permission/PermissionHandler.class.php b/file/lib/system/permission/PermissionHandler.class.php index 9af5c00..c403286 100644 --- a/file/lib/system/permission/PermissionHandler.class.php +++ b/file/lib/system/permission/PermissionHandler.class.php @@ -34,7 +34,7 @@ public function __construct(\wcf\data\user\User $user = null) { $ush = \wcf\system\user\storage\UserStorageHandler::getInstance(); // get groups permissions - $this->chatPermissions = \chat\system\cache\builder\PermissionCacheBuilder::getInstance()->getData($user->getGroupIDs); + $this->chatPermissions = \chat\system\cache\builder\PermissionCacheBuilder::getInstance()->getData($user->getGroupIDs()); // get user permissions if ($user->userID) {