Add static to the device method to get rid of strict message.
This commit is contained in:
@@ -44,7 +44,7 @@ include "root.php";
|
|||||||
return $this->domain_uuid;
|
return $this->domain_uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_vendor($mac){
|
public static function get_vendor($mac){
|
||||||
//use the mac address to find the vendor
|
//use the mac address to find the vendor
|
||||||
$mac = preg_replace('#[^a-fA-F0-9./]#', '', $mac);
|
$mac = preg_replace('#[^a-fA-F0-9./]#', '', $mac);
|
||||||
$mac = strtolower($mac);
|
$mac = strtolower($mac);
|
||||||
|
|||||||
Reference in New Issue
Block a user