From a8cb366508d944d6ff0ba8b64c64bb80ad64a5f1 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 14 Mar 2018 17:24:34 +0100 Subject: [PATCH] [Alerts view] Fixed validation in alerts view --- pandora_console/include/functions_ui.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 751b1bf34e..caffcad739 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -961,9 +961,15 @@ function ui_format_alert_row ($alert, $agent = true, $url = '', $agent_style = f if (!defined('METACONSOLE')) { if (check_acl ($config["id_user"], $id_group, "LW") || check_acl ($config["id_user"], $id_group, "LM")) { $data[$index['validate']] = ''; - - - $data[$index['validate']] .= html_print_checkbox ("validate[]", $alert["id"], false, true); + + $data[$index['validate']] .= html_print_checkbox ( + "validate[]", + $alert["id"], + false, + true, + false, + '', + true); } }