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:
parent
f656a212ca
commit
5c440c1add
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user