#11726 Fix alert status column name agent

This commit is contained in:
miguel angel rasteu 2023-07-12 14:11:00 +02:00
parent 676b7a9302
commit 2af618b765

View File

@ -258,7 +258,8 @@ if ((bool) check_acl($config['id_user'], $id_group, 'LW') === true || (bool) che
); );
} }
if ($print_agent === true) { /*
if ($print_agent === true) {
array_push( array_push(
$column_names, $column_names,
['text' => 'Agent'] ['text' => 'Agent']
@ -268,11 +269,12 @@ if ((bool) check_acl($config['id_user'], $id_group, 'LW') === true || (bool) che
$columns, $columns,
['agent_name'] ['agent_name']
); );
} }*/
} }
array_push( array_push(
$column_names, $column_names,
['text' => 'Agent'],
['text' => 'Module'], ['text' => 'Module'],
['text' => 'Template'], ['text' => 'Template'],
[ [
@ -286,6 +288,7 @@ array_push(
$columns = array_merge( $columns = array_merge(
$columns, $columns,
['agent_name'],
['agent_module_name'], ['agent_module_name'],
['template_name'], ['template_name'],
['action'], ['action'],