Fix sorting room, fix form sending after sorting and add column Historie

This commit is contained in:
Haitem committed 2021-01-05 12:19:30 +01:00
1 parent 64b50ead9f
commit b5b2bb95a7
9 files changed
+58 -26

No files matched your search

+6
View File
@@ -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,