Fixed problems with user have AR bit and add column that didn't see in module and alerts list. Ticket: #4193

This commit is contained in:
m-lopez-f 2016-11-15 11:21:04 +01:00
parent 0b5d8831df
commit ddf4366017
2 changed files with 0 additions and 4 deletions

View File

@ -783,9 +783,6 @@ if ($list_modules) {
}
}
}
else {
$data[0] = '';
}
if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) {
if ($module["id_policy_module"] != 0) {

View File

@ -815,7 +815,6 @@ function ui_format_alert_row ($alert, $agent = true, $url = '', $agent_style = f
if (!defined('METACONSOLE')) {
// Force alert execution
$data[$index['force_execution']] = '';
if (check_acl ($config["id_user"], $id_group, "AW") || check_acl ($config["id_user"], $id_group, "LM")) {
if ($alert["force_execution"] == 0) {
$data[$index['force_execution']] =