mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Network Setting
This commit is contained in:
1 parent
b2e4da37bf
commit
563999e92d
3 files changed
+8
-2
No files matched your search
@@ -3,8 +3,8 @@ class RoomManager{
|
||||
public static $rooms;
|
||||
|
||||
function getDefaultRoomId() {
|
||||
$defaultRoom = Db::loadOne("SELECT id FROM rooms WHERE default = 1");
|
||||
return $defaultRoom['id'];
|
||||
$defaultRoom = Db::loadOne("SELECT room_id FROM rooms WHERE 'default' = 1");
|
||||
return $defaultRoom['room_id'];
|
||||
}
|
||||
|
||||
function getAllRooms () {
|
||||
|
||||
Reference in new issue
Block a user