Merge branch 'ent-11755-netflow-live-view-tipo-summary-no-muestra-grafica-al-usar-aggregated-by-ports' into 'develop'

Ent 11755 netflow live view tipo summary no muestra grafica al usar aggregated by ports

See merge request artica/pandorafms!6279
This commit is contained in:
Rafael Ameijeiras 2023-07-31 13:11:34 +00:00
commit f65a4ddca9
1 changed files with 4 additions and 0 deletions

View File

@ -4560,6 +4560,10 @@ function graph_netflow_aggregate_pie($data, $aggregate, $ttl=1, $only_image=fals
}
$labels = array_keys($values);
foreach ($labels as $key => $label) {
$labels[$key] = (string) $label;
}
$values = array_values($values);
if ($config['fixed_graph'] == false) {