#10416 added name agent in filter event

This commit is contained in:
Daniel Cebrian 2023-02-20 13:10:00 +01:00
parent c24bf70cc2
commit f67bf4d084
1 changed files with 7 additions and 0 deletions

View File

@ -239,6 +239,13 @@ $server_id = get_parameter(
($filter['server_id'] ?? '')
);
if (empty($id_agent) === true) {
$id_agent = get_parameter(
'id_agent',
($filter['id_agent'] ?? '')
);
}
if (is_metaconsole() === true) {
$servers = metaconsole_get_servers();
if (is_array($servers) === true) {