From d13be1e3310a3dbe939fa5b830e69e7b19c9fd94 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Mon, 19 Jun 2023 16:52:20 +0200 Subject: [PATCH] fix bug --- pandora_console/include/functions_alerts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_alerts.php b/pandora_console/include/functions_alerts.php index c9ab918624..b3a8cabf27 100644 --- a/pandora_console/include/functions_alerts.php +++ b/pandora_console/include/functions_alerts.php @@ -3115,7 +3115,7 @@ function alerts_get_alert_fired($filters=[], $groupsBy=[]) $fields[] = $table.'.id_agente as agent'; $group_array[] = $table.'.id_agente'; $names_search = agents_get_alias_array( - array_values($filters['agents']) + array_values($filters['agents'] ?? []) ); if (is_metaconsole() === true) {