diff --git a/includes/discovery/functions.inc.php b/includes/discovery/functions.inc.php index 74f4c2c69..511f82e2a 100644 --- a/includes/discovery/functions.inc.php +++ b/includes/discovery/functions.inc.php @@ -41,8 +41,8 @@ function discover_new_device($hostname) function discover_device($device, $options = NULL) { + global $config, $valid; - global $config; $valid = array(); ## Reset $valid array $attribs = get_dev_attribs($device['device_id']);