[Alerts view] Fixed validation in alerts view

This commit is contained in:
fermin831 2018-03-14 17:24:34 +01:00
parent 663e5da6ae
commit a8cb366508
1 changed files with 9 additions and 3 deletions

View File

@ -962,8 +962,14 @@ function ui_format_alert_row ($alert, $agent = true, $url = '', $agent_style = f
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);
}
}