diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index f8f3b750d7..4fbbc5e25b 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -527,7 +527,7 @@ //use the mac address to get the vendor if (strlen($device_vendor) == 0) { $template_array = explode("/", $device_template); - $device_vendor = $template_array[0]; + $device_vendor = device::get_vendor($device_mac_address); } //set the sub array index