diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index 75f60a5..e8a9bb3 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -183,7 +183,7 @@ public function show() { if ($this->useTemplate) exit; @header('Content-type: application/json'); echo \wcf\util\JSON::encode(array( - 'title' => WCF::getLanguage()->get($this->room->title), + 'title' => $this->room->getTitle(), 'topic' => WCF::getLanguage()->get($this->room->topic) )); exit;