[Alerts view] Fixed validation in alerts view
This commit is contained in:
parent
663e5da6ae
commit
a8cb366508
|
@ -961,9 +961,15 @@ function ui_format_alert_row ($alert, $agent = true, $url = '', $agent_style = f
|
||||||
if (!defined('METACONSOLE')) {
|
if (!defined('METACONSOLE')) {
|
||||||
if (check_acl ($config["id_user"], $id_group, "LW") || check_acl ($config["id_user"], $id_group, "LM")) {
|
if (check_acl ($config["id_user"], $id_group, "LW") || check_acl ($config["id_user"], $id_group, "LM")) {
|
||||||
$data[$index['validate']] = '';
|
$data[$index['validate']] = '';
|
||||||
|
|
||||||
|
$data[$index['validate']] .= html_print_checkbox (
|
||||||
$data[$index['validate']] .= html_print_checkbox ("validate[]", $alert["id"], false, true);
|
"validate[]",
|
||||||
|
$alert["id"],
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
'',
|
||||||
|
true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue