From ddf4366017ad9d455618b0fe13c2ebb3425b2ffc Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 15 Nov 2016 11:21:04 +0100 Subject: [PATCH] Fixed problems with user have AR bit and add column that didn't see in module and alerts list. Ticket: #4193 --- pandora_console/include/ajax/module.php | 3 --- pandora_console/include/functions_ui.php | 1 - 2 files changed, 4 deletions(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index adc1d46cc0..910675e0b4 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -783,9 +783,6 @@ if ($list_modules) { } } } - else { - $data[0] = ''; - } if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) { if ($module["id_policy_module"] != 0) { diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 1b8259c14a..4c5abf02b1 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -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']] =