diff --git a/pandora_console/include/class/AgentsAlerts.class.php b/pandora_console/include/class/AgentsAlerts.class.php index 70a6a960f4..70c1ff9e3c 100644 --- a/pandora_console/include/class/AgentsAlerts.class.php +++ b/pandora_console/include/class/AgentsAlerts.class.php @@ -262,24 +262,20 @@ class AgentsAlerts extends HTML $data[0] = io_safe_output($agent_module['alias']); $data[1] = io_safe_output($agent_module['nombre']); $uniqid = $agent_module['id_agente_modulo']; - if (check_acl($this->idUser, 0, 'LM')) { - $data[2] = html_print_anchor( - [ - 'href' => sprintf( - 'javascript:show_add_alerts(\'%s\')', - $uniqid - ), - 'content' => html_print_image( - 'images/add_mc.png', - true, - ['class' => 'main_menu_icon invert_filter'] - ), - ], - true - ); - } else { - $data[2] = ''; - } + $data[2] = html_print_anchor( + [ + 'href' => sprintf( + 'javascript:show_add_alerts(\'%s\')', + $uniqid + ), + 'content' => html_print_image( + 'images/add_mc.png', + true, + ['class' => 'main_menu_icon invert_filter'] + ), + ], + true + ); array_push($table->data, $data);