mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 09:33:48 +00:00
Fix the mac address being added when a new phone is provisioning with HTTP.
This commit is contained in:
@@ -268,8 +268,6 @@ include "root.php";
|
||||
$sql .= "device_model, ";
|
||||
$sql .= "device_provision_enable, ";
|
||||
$sql .= "device_template, ";
|
||||
$sql .= "device_username, ";
|
||||
$sql .= "device_password, ";
|
||||
$sql .= "device_description ";
|
||||
$sql .= ") ";
|
||||
$sql .= "VALUES ";
|
||||
@@ -281,8 +279,6 @@ include "root.php";
|
||||
$sql .= "'', ";
|
||||
$sql .= "'true', ";
|
||||
$sql .= "'$device_template', ";
|
||||
$sql .= "'', ";
|
||||
$sql .= "'', ";
|
||||
$sql .= "'auto {$_SERVER['HTTP_USER_AGENT']}' ";
|
||||
$sql .= ")";
|
||||
$this->db->exec(check_sql($sql));
|
||||
|
||||
Reference in New Issue
Block a user