mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Fix variable reference
This commit is contained in:
parent
0227d3a2e3
commit
427242616d
@ -29,7 +29,7 @@ class ChatPermissionHandler {
|
|||||||
|
|
||||||
public function __construct(\wcf\data\user\User $user = null) {
|
public function __construct(\wcf\data\user\User $user = null) {
|
||||||
if ($user === null) $user = WCF::getUser();
|
if ($user === null) $user = WCF::getUser();
|
||||||
$this->user = new \wcf\data\user\UserProfile($this->user);
|
$this->user = new \wcf\data\user\UserProfile($user);
|
||||||
|
|
||||||
$packageID = \wcf\util\ChatUtil::getPackageID();
|
$packageID = \wcf\util\ChatUtil::getPackageID();
|
||||||
$ush = \wcf\system\user\storage\UserStorageHandler::getInstance();
|
$ush = \wcf\system\user\storage\UserStorageHandler::getInstance();
|
||||||
|
Loading…
Reference in New Issue
Block a user