From 9c9a76245d96077277b510df0a4f5b477e1740f1 Mon Sep 17 00:00:00 2001 From: max-m Date: Sat, 10 Dec 2011 22:21:40 +0100 Subject: [PATCH] Use getTitle instead ... I had forgotten to change it in my workingdir, so I'd overwride it in my last commit :( --- 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 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;