Fixed ./includes/polling/os/infinity.inc.php for php 53

This commit is contained in:
laf 2016-08-08 20:26:44 +01:00
parent 34feda8613
commit 09eb5ca1e9

View File

@ -10,6 +10,6 @@
* the source code distribution for details.
*/
$version = $poll_device['sysDescr'];
$version = explode(' ', $version)[2];
$version = explode(' ', $poll_device['sysDescr']);
$version = $version[2];
$hardware = snmp_get($device, 'IEEE802dot11-MIB::dot11manufacturerProductName.5', '-Ovq');