mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Fix method call to getGroupIDs in PermissionHandler
This commit is contained in:
parent
e93ac99ea7
commit
ecb1d16394
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user