diff --git a/app/devices/resources/classes/device.php b/app/devices/resources/classes/device.php index c8ea8ab6d0..b8345a798a 100644 --- a/app/devices/resources/classes/device.php +++ b/app/devices/resources/classes/device.php @@ -44,7 +44,7 @@ include "root.php"; return $this->domain_uuid; } - public function get_vendor($mac){ + public static function get_vendor($mac){ //use the mac address to find the vendor $mac = preg_replace('#[^a-fA-F0-9./]#', '', $mac); $mac = strtolower($mac);