From d470fc8ebedcabef857bc76f7209315e6d016261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 3 Dec 2011 17:53:36 +0100 Subject: [PATCH] We have to exit; here, 'cause show does not That was different in WCF 1.1, wasn't it? --- 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 3a70896..fc7f109 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -165,7 +165,7 @@ public function show() { // remove index breadcrumb WCF::getBreadcrumbs()->remove(0); parent::show(); - + if ($this->useTemplate) exit; @header('Content-type: application/json'); echo \wcf\util\JSON::encode(array( 'topic' => WCF::getLanguage()->get($this->room->topic)