diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ab8c1ace01..d9e551c5e9 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-04-30 Sergio Martin + + * operation/snmpconsole/snmp_view.php: Fixed the custom + value column tooltip. Now, the tooltip shows the full + value instead of the custom OID. Bug: 2940432 + 2010-04-30 Miguel de Dios * include/functions_io.php: added in the function "safe_output" the flag diff --git a/pandora_console/operation/snmpconsole/snmp_view.php b/pandora_console/operation/snmpconsole/snmp_view.php index 98e2005cbe..c65326b352 100644 --- a/pandora_console/operation/snmpconsole/snmp_view.php +++ b/pandora_console/operation/snmpconsole/snmp_view.php @@ -366,8 +366,9 @@ if ($traps !== false) { } //Custom - $data[4] = '' . $trap["value_custom"] . ''; - + //$data[4] = '' . $trap["value_custom"] . ''; + $data[4] = substr ($trap["value_custom"], 0, 15); + if (empty ($data[4])) { $data[4] = __('N/A'); } elseif (strlen ($trap["value_custom"]) > 15) {