1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-22 02:00:40 +00:00

Really fix MessageLogPage

see 0ef6dbb36b7b1707ae944af54a69a352052d9a2c
This commit is contained in:
Tim Düsterhus 2013-09-08 20:54:44 +02:00
parent f656a212ca
commit 5c440c1add

View File

@ -124,7 +124,7 @@ class MessageLogPage extends \wcf\page\AbstractPage {
$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']);