1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Use getTitle instead ...

I had forgotten to change it in my workingdir, so I'd overwride it in my
last commit :(
This commit is contained in:
max-m 2011-12-10 22:21:40 +01:00
parent 6652cb4c09
commit 9c9a76245d

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;