Sleep time in edit hot fix
This commit is contained in:
parent
b1ad8b227b
commit
6248b7addb
@ -4,7 +4,10 @@ if (isset($_POST) && !empty($_POST)){
|
||||
$deviceId = $_POST['deviceId'];
|
||||
$deviceName = $_POST['deviceName'];
|
||||
$deviceIcon = $_POST['deviceIcon'];
|
||||
$sleepTime = 0;
|
||||
if (isset($_POST['sleepTime'])) {
|
||||
$sleepTime = $_POST['sleepTime'];
|
||||
}
|
||||
//TODO: if device isnt on off
|
||||
$permissionsInJson = json_encode([
|
||||
(int) $_POST['permissionOwner'],
|
||||
|
Loading…
Reference in New Issue
Block a user