diff --git a/includes/polling/os/hiveos-wireless.inc.php b/includes/polling/os/hiveos-wireless.inc.php index 2ee8c7f8d2..1b0a64fb0a 100644 --- a/includes/polling/os/hiveos-wireless.inc.php +++ b/includes/polling/os/hiveos-wireless.inc.php @@ -21,9 +21,9 @@ * @author https://github.com/theherodied/ */ -$data = snmp_get_multi_oid($device,'ahSystemSerial.0 ahDeviceMode.0 ahFirmwareVersion.0','-OQUs','AH-SYSTEM-MIB'); +$data = snmp_get_multi_oid($device, 'ahSystemSerial.0 ahDeviceMode.0 ahFirmwareVersion.0', '-OQUs', 'AH-SYSTEM-MIB'); $hardware = $data['ahDeviceMode.0']; $version2 = $data['ahFirmwareVersion.0']; // Version has 'HiveOS ' included. We want to remove it so OS doesn't show HiveOS twice. -$version = preg_replace('/^HiveOS /','',$version2); +$version = preg_replace('/^HiveOS /', '', $version2); $serial = $data['ahSystemSerial.0'];