mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user