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

Really fix MessageLogPage

see 0ef6dbb36b
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 @@ public function readParameters() {
$this->rooms = \chat\data\room\RoomCache::getInstance()->getRooms(); $this->rooms = \chat\data\room\RoomCache::getInstance()->getRooms();
foreach ($this->rooms as $id => $room) { 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']); if (isset($_REQUEST['id'])) $this->roomID = intval($_REQUEST['id']);