#11755 Fix netflow live view pie graph

This commit is contained in:
miguel angel rasteu 2023-07-25 10:33:29 +02:00
parent f9803b3a52
commit 0c995b5dd5
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) {