From cf474ed648714d2cc95524ebce2476a4badb0a85 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 14 Jan 2014 01:50:19 +0000 Subject: [PATCH] Add static to the device method to get rid of strict message. --- app/devices/resources/classes/device.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);