1
0
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:
Tim Düsterhus 2012-10-20 16:54:41 +02:00
parent 0227d3a2e3
commit 427242616d

View File

@ -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();