fixed old $mac variable usage

This commit is contained in:
Nuno Miguel Reis 2013-09-17 19:07:11 +00:00
parent 017650e984
commit 5fc2cf7f9a
1 changed files with 1 additions and 1 deletions

View File

@ -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;