From cbcf875fe10247aea51b511f667166a9b0a25ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 10 Dec 2011 21:55:34 +0100 Subject: [PATCH] Use getTitle-method --- file/lib/page/ChatPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index 6b9e551..8099e69 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;