Merge branch 'ent-10416-no-aplica-los-filtros-de-eventos-desde-servicio' into 'develop'

Ent 10416 no aplica los filtros de eventos desde servicio

See merge request artica/pandorafms!5551
This commit is contained in:
Matias Didier 2023-02-22 10:36:00 +00:00
commit cbbb874d7b
1 changed files with 7 additions and 0 deletions

View File

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