mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Miscellaneous cleanup, mostly undefined variables - part2 (#14445)
* Miscellaneous cleanup, mostly undefined variables - part2 * wip * Update Number.php * Update BridgeMib.php * Update Xdsl.php * Update cisco.inc.php * Update Cisco.php * Update entity-sensor.inc.php * Update entity-sensor.inc.php * Update entity-sensor.inc.php * Update avtech.inc.php * Update functions.inc.php * Update HostResources.php * Update ports.inc.php * Update route.inc.php * Update cisco.inc.php * Update Cisco.php
This commit is contained in:
@@ -861,6 +861,11 @@ function discovery_process(&$valid, $os, $sensor_class, $pre_cache)
|
||||
|
||||
foreach ($discovery[$sensor_class]['data'] as $data) {
|
||||
$tmp_name = $data['oid'];
|
||||
|
||||
if (! isset($pre_cache[$tmp_name])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$raw_data = (array) $pre_cache[$tmp_name];
|
||||
|
||||
d_echo("Data $tmp_name: ");
|
||||
|
Reference in New Issue
Block a user