mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 10:43:49 +00:00
Fix a small bug with provisioning device_vendor make sure it is set to lower case.
This commit is contained in:
@@ -167,7 +167,7 @@ require_once "resources/require.php";
|
||||
$device_uuid = $row["device_uuid"];
|
||||
$device_label = $row["device_label"];
|
||||
if (strlen($row["device_vendor"]) > 0) {
|
||||
$device_vendor = $row["device_vendor"];
|
||||
$device_vendor = strtolower($row["device_vendor"]);
|
||||
}
|
||||
$device_model = $row["device_model"];
|
||||
$device_firmware_version = $row["device_firmware_version"];
|
||||
@@ -191,7 +191,7 @@ require_once "resources/require.php";
|
||||
$prep_statement3->execute();
|
||||
$row = $prep_statement3->fetch();
|
||||
$device_label = $row["device_label"];
|
||||
$device_vendor = $row["device_vendor"];
|
||||
$device_vendor = strtolower($row["device_vendor"]);
|
||||
$device_model = $row["device_model"];
|
||||
$device_firmware_version = $row["device_firmware_version"];
|
||||
$device_provision_enable = $row["device_provision_enable"];
|
||||
|
||||
@@ -49,7 +49,7 @@ else {
|
||||
$device_uuid = $row["device_uuid"];
|
||||
$device_mac_address = $row["device_mac_address"];
|
||||
$device_label = $row["device_label"];
|
||||
$device_vendor = $row["device_vendor"];
|
||||
$device_vendor = strtolower($row["device_vendor"]);
|
||||
$device_model = $row["device_model"];
|
||||
$device_firmware_version = $row["device_firmware_version"];
|
||||
$device_provision_enable = $row["device_provision_enable"];
|
||||
|
||||
Reference in New Issue
Block a user