From 7076988c02ca804f003bd62630e37a3ed8010d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 19 Dec 2011 16:14:27 +0100 Subject: [PATCH] Shortcut :) --- 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 9f92903..0948afa 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -130,7 +130,7 @@ class ChatPage extends AbstractPage { // 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; }