Fixed a few small bugs, introduced by the Poller tidy up of laf (#5930)

* Fix for #5734 - incorrect hostname in the mouse-over of the services in the availability-map

* Fixed a few small bugs, introduced by the Poller tidy up of laf
This commit is contained in:
Robert Verspuy
2017-02-17 09:51:48 +01:00
committed by Neil Lathwood
parent 872eac10aa
commit 8b2bc22272
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
$sensors = dbFetchRows("SELECT `sensor_class` FROM `sensors` WHERE `device_id` = ? GROUP BY `sensor_class`", array($device['device_id']));
foreach ($sensors as $sensor_type) {
poll_sensor($device, $sensor_type);
poll_sensor($device, $sensor_type['sensor_class']);
}
unset($sensors, $sensor_type);