mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fix a typo.
This commit is contained in:
parent
e72a55b4f3
commit
51f57e9247
@ -447,9 +447,9 @@ function snmp_browser_get_oid(
|
||||
$oid_data['description'] = $custom_data['description'];
|
||||
}
|
||||
|
||||
$full_value = explode(':', trim($full_oid[1]));
|
||||
$full_value = explode(':', trim($value));
|
||||
if (! isset($full_value[1])) {
|
||||
$oid_data['value'] = trim($full_oid[1]);
|
||||
$oid_data['value'] = trim($value);
|
||||
} else {
|
||||
$oid_data['type'] = trim($full_value[0]);
|
||||
$oid_data['value'] = trim($full_value[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user