From 43df9443535ee6caddcf8f0f740760e6c421f22e Mon Sep 17 00:00:00 2001 From: Nuno Miguel Reis Date: Tue, 17 Sep 2013 19:07:11 +0000 Subject: [PATCH] fixed old $mac variable usage --- app/provision/provision_write.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/provision/provision_write.php b/app/provision/provision_write.php index 6a5cb0b739..dfc70d70fc 100644 --- a/app/provision/provision_write.php +++ b/app/provision/provision_write.php @@ -61,7 +61,7 @@ else { //use the mac address to find the vendor if (strlen($device_vendor) == 0) { - switch (substr($mac, 0, 6)) { + switch (substr($device_mac_address, 0, 6)) { case "00085d": $device_vendor = "aastra"; break;