Update app_defaults.php

This commit is contained in:
FusionPBX 2017-01-10 01:03:27 -07:00 committed by GitHub
parent fa13e54f44
commit 3844b569f7
1 changed files with 12 additions and 10 deletions

View File

@ -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);
}