mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update provision.php
This commit is contained in:
@@ -535,10 +535,10 @@ include "root.php";
|
||||
exit;
|
||||
}
|
||||
//register that we have seen the device
|
||||
$sql = "UPDATE v_devices ";
|
||||
$sql = "UPDATE v_devices ";
|
||||
$sql .= "SET device_provisioned_date=:date, device_provisioned_method=:method, device_provisioned_ip=:ip ";
|
||||
$sql .= "WHERE domain_uuid=:domain_uuid AND device_mac_address=:mac ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement = $this->db->prepare(check_sql($sql));
|
||||
if ($prep_statement) {
|
||||
//use the prepared statement
|
||||
$prep_statement->bindValue(':domain_uuid', $domain_uuid);
|
||||
|
||||
Reference in New Issue
Block a user