Dashboard fix

This commit is contained in:
JonatanRek 2019-10-18 15:38:04 +02:00
parent adc7a1c9ad
commit 2200508fff

View File

@ -1,7 +1,7 @@
<?php <?php
if (isset($_POST) && !empty($_POST)){ if (isset($_POST) && !empty($_POST)){
if (isset($_POST['modalFinal']) && $_POST['modalFinal'] == "Next") { if (isset($_POST['modalFinal']) && $_POST['modalFinal'] != "") {
$subDeviceIds = $_POST['devices']; $subDeviceIds = $_POST['devices'];
foreach ($subDeviceIds as $subDeviceId) { foreach ($subDeviceIds as $subDeviceId) {
DashboardManager::Add($subDeviceId); DashboardManager::Add($subDeviceId);