diff --git a/includes/polling/functions.inc.php b/includes/polling/functions.inc.php index 3c9f5940eb..86c521a646 100644 --- a/includes/polling/functions.inc.php +++ b/includes/polling/functions.inc.php @@ -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.