mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
parent
f656a212ca
commit
5c440c1add
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user