From 51f57e9247fe56d3942ab0350d7fca55e50a0bbb Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Tue, 4 Jun 2019 15:54:32 +0200 Subject: [PATCH] Fix a typo. --- pandora_console/include/functions_snmp_browser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_snmp_browser.php b/pandora_console/include/functions_snmp_browser.php index f4297a49e9..ca2b2d055b 100644 --- a/pandora_console/include/functions_snmp_browser.php +++ b/pandora_console/include/functions_snmp_browser.php @@ -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]);