diff --git a/app/devices/resources/classes/device.php b/app/devices/resources/classes/device.php index 1c236ee640..5fb5d8bddd 100644 --- a/app/devices/resources/classes/device.php +++ b/app/devices/resources/classes/device.php @@ -86,7 +86,7 @@ include "root.php"; case "000e08": $device_vendor = "linksys"; break; - case "08000F": + case "08000f": $device_vendor = "mitel"; break; case "0080f0": diff --git a/app/provision/index.php b/app/provision/index.php index 431c78f632..c346eef992 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -299,8 +299,7 @@ openlog("fusion-provisioning", LOG_PID | LOG_PERROR, LOG_LOCAL0); //need to make sure content-type is correct if ($_REQUEST['content_type'] == 'application/octet-stream') { //format the mac address and - $format = new provision(); - $mac = $format->format_mac($mac, $device_vendor); + $mac = $prov->format_mac($mac, $device_vendor); //replace the variable name with the value $file_name = str_replace("{\$mac}", $mac, $file);