Adtional tweeks and fixes

This commit is contained in:
jonatanrek committed 2020-10-05 21:12:06 +02:00
1 parent 94d6576070
commit e3b7e866f0
6 files changed
+43 -28

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ class RoomManager{
public static $rooms;
static function getDefaultRoomId() {
$defaultRoom = Db::loadOne("SELECT room_id FROM rooms WHERE 'default' = 1");
$defaultRoom = Db::loadOne("SELECT `room_id` FROM `rooms` WHERE `default` = 1");
return $defaultRoom['room_id'];
}