mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Use isset for checking poller option (#4291)
This commit is contained in:
committed by
Tony Murray
parent
d5437207e3
commit
16a47ac5e9
@@ -277,7 +277,7 @@ function poll_device($device, $options)
|
||||
// Update device_groups
|
||||
UpdateGroupsForDevice($device['device_id']);
|
||||
|
||||
if (!$options['m']) {
|
||||
if (!isset($options['m'])) {
|
||||
// FIXME EVENTLOGGING -- MAKE IT SO WE DO THIS PER-MODULE?
|
||||
// This code cycles through the graphs already known in the database and the ones we've defined as being polled here
|
||||
// If there any don't match, they're added/deleted from the database.
|
||||
|
Reference in New Issue
Block a user