diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9ecbffbf6a..90ae0b37aa 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-08-16 Miguel de Dios + + * operation/agentes/estado_monitores.php: erased the notice php messages + when $module["extended_info"] is empty. + 2011-08-16 Miguel de Dios * operation/snmpconsole/snmp_view.php, godmode/menu.php, diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php index 66b91db5d5..155fa00933 100644 --- a/pandora_console/operation/agentes/estado_monitores.php +++ b/pandora_console/operation/agentes/estado_monitores.php @@ -318,8 +318,10 @@ foreach ($modules as $module) { $data[2] .= '' . html_print_image("images/config.png", true, array("alt" => '0', "border" => "")) . ''; $data[3] = ui_print_string_substr ($module["nombre"], 30, true); - if ($module["extended_info"] != "") { - $data[3] .= ui_print_help_tip ($module["extended_info"], true, '/images/comments.png'); + if (!empty($module["extended_info"])) { + if ($module["extended_info"] != "") { + $data[3] .= ui_print_help_tip ($module["extended_info"], true, '/images/comments.png'); + } } //Adds tag context information