diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index 5ed31d1..5ec0760 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -181,7 +181,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;