Update app_defaults.php
This commit is contained in:
parent
2d888496de
commit
3226641a1b
|
|
@ -33,6 +33,7 @@
|
|||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||
if (is_array($result)) {
|
||||
foreach($result as $row) {
|
||||
$device_uuid = $row["device_uuid"];
|
||||
$device_mac_address = $row["device_mac_address"];
|
||||
|
|
@ -45,6 +46,7 @@
|
|||
$db->exec(check_sql($sql));
|
||||
unset($sql);
|
||||
}
|
||||
}
|
||||
unset($prep_statement, $result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue