From 5ad527847fbab53f731b2d31e92e4754bb25749c Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Thu, 15 Jun 2023 12:48:13 +0200 Subject: [PATCH] #11569 Fix arreay add --- pandora_console/include/functions_reporting.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 18b5b9eda6..3dcb84a8c1 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -4253,7 +4253,9 @@ function reporting_group_report($report, $content) $data_node = reporting_groups_nodes($content); $count_events += $data_node['count_events']; foreach ($data_node['group_stats'] as $key => $value) { - $group_stats[$key] += $value; + if (array_key_exists($key, $group_stats)) { + $group_stats[$key] += $value; + } } if (is_metaconsole() === true) {