mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
We have to exit; here, 'cause show does not
That was different in WCF 1.1, wasn't it?
This commit is contained in:
parent
10509645da
commit
d470fc8ebe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user