diff --git a/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php b/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php index 1418f5a..8954a1e 100644 --- a/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php +++ b/file/lib/system/menu/page/ChatPageMenuItemProvider.class.php @@ -18,7 +18,7 @@ class ChatPageMenuItemProvider extends DefaultPageMenuItemProvider { */ public function isVisible() { // guests are not supported - if (!WCF::getUser()->userID) return false; + if (!\wcf\system\WCF::getUser()->userID) return false; try { \wcf\data\chat\room\ChatRoom::getCache()->seek(0);