From 5c440c1add66fdb08bbdbffe301dea36f64ef9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 8 Sep 2013 20:54:44 +0200 Subject: [PATCH] Really fix MessageLogPage see 0ef6dbb36b7b1707ae944af54a69a352052d9a2c --- file/lib/acp/page/MessageLogPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/acp/page/MessageLogPage.class.php b/file/lib/acp/page/MessageLogPage.class.php index ca31741..d200514 100644 --- a/file/lib/acp/page/MessageLogPage.class.php +++ b/file/lib/acp/page/MessageLogPage.class.php @@ -124,7 +124,7 @@ public function readParameters() { $this->rooms = \chat\data\room\RoomCache::getInstance()->getRooms(); foreach ($this->rooms as $id => $room) { - if (!$room->permanent) unset($this->rooms[$key]); + if (!$room->permanent) unset($this->rooms[$id]); } if (isset($_REQUEST['id'])) $this->roomID = intval($_REQUEST['id']);