mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-12 02:04:34 +00:00
Fix sorting room, fix form sending after sorting and add column Historie
This commit is contained in:
1 parent
64b50ead9f
commit
b5b2bb95a7
9 files changed
+58
-26
No files matched your search
@@ -19,6 +19,12 @@ class RoomManager{
|
||||
return $allRoom;
|
||||
}
|
||||
|
||||
public static function getRoomName ($room_id) {
|
||||
//TODO: ignore Widgets withoud data
|
||||
$allRoom = Db::loadAlone ("SELECT name FROM rooms WHERE room_id=?", array ($room_id));
|
||||
return $allRoom;
|
||||
}
|
||||
|
||||
public static function create ($name) {
|
||||
$room = array (
|
||||
'name' => $name,
|
||||
|
||||
Reference in new issue
Block a user