mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
fix issue with device vendors (#6340)
If mac address and template already exists in Devices page and you attempt to associate the mac address with the extension from the extensions page, the "vendor" is removed from the device, thus causing provisioning not to look at the device profiles settings of the mac address
This commit is contained in:
@@ -527,7 +527,7 @@
|
||||
//use the mac address to get the vendor
|
||||
if (strlen($device_vendor) == 0) {
|
||||
$template_array = explode("/", $device_template);
|
||||
$device_vendor = $template_array[0];
|
||||
$device_vendor = device::get_vendor($device_mac_address);
|
||||
}
|
||||
|
||||
//set the sub array index
|
||||
|
||||
Reference in New Issue
Block a user