1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-09 00:20:08 +00:00

Use getTitle-method

This commit is contained in:
Tim Düsterhus 2011-12-10 21:55:34 +01:00
parent 08c8e8b44b
commit cbcf875fe1

View File

@ -181,7 +181,7 @@ public function show() {
if ($this->useTemplate) exit; if ($this->useTemplate) exit;
@header('Content-type: application/json'); @header('Content-type: application/json');
echo \wcf\util\JSON::encode(array( echo \wcf\util\JSON::encode(array(
'title' => WCF::getLanguage()->get($this->room->title), 'title' => $this->room->getTitle(),
'topic' => WCF::getLanguage()->get($this->room->topic) 'topic' => WCF::getLanguage()->get($this->room->topic)
)); ));
exit; exit;