Merge branch 'ent-1971-error-en-validacion-de-alertas' into 'develop'

[Alerts view] Fixed validation in alerts view

See merge request artica/pandorafms!1371
This commit is contained in:
vgilc 2018-03-22 09:57:58 +01:00
commit f8d58cbe1f
1 changed files with 9 additions and 3 deletions

View File

@ -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);
}
}