Update provision.php

This commit is contained in:
FusionPBX
2019-08-21 16:34:08 -06:00
committed by GitHub
parent ead4a8b522
commit ef6bbe7af5

View File

@@ -349,6 +349,7 @@ include "root.php";
$parameters['device_provisioned_ip'] = $_SERVER['REMOTE_ADDR'];
$database = new database;
$database->execute($sql, $parameters);
unset($parameters);
//set the variables from values in the database
$device_uuid = $row["device_uuid"];
@@ -364,7 +365,7 @@ include "root.php";
$device_profile_uuid = $row["device_profile_uuid"];
$device_description = $row["device_description"];
}
unset($row, $parameters);
unset($row);
//}
//find a template that was defined on another phone and use that as the default.