mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Provision: Remove old reference to .
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
if (empty($mac) && !empty($ext)) {
|
||||
$domain_array = explode(":", $_SERVER["HTTP_HOST"]);
|
||||
$domain_name = $domain_array[0];
|
||||
$device = device_by_ext($db, $ext, $domain_name);
|
||||
$device = device_by_ext($ext, $domain_name);
|
||||
if ($device !== false && ($device['device_vendor'] == 'escene' || $device['device_vendor'] == 'grandstream')) {
|
||||
$mac = $device['device_mac_address'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user