diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index 9f92903..0948afa 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -130,7 +130,7 @@ public function readRoom() { // redirect to first chat-room $this->rooms->seek(0); \wcf\util\HeaderUtil::redirect(\wcf\system\request\LinkHandler::getInstance()->getLink('Chat', array( - 'object' => $this->rooms->search($this->rooms->key()) + 'object' => $this->rooms->current() ))); exit; }