mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#11755 Fix netflow live view pie graph
This commit is contained in:
parent
f9803b3a52
commit
0c995b5dd5
@ -4560,6 +4560,10 @@ function graph_netflow_aggregate_pie($data, $aggregate, $ttl=1, $only_image=fals
|
|||||||
}
|
}
|
||||||
|
|
||||||
$labels = array_keys($values);
|
$labels = array_keys($values);
|
||||||
|
foreach ($labels as $key => $label) {
|
||||||
|
$labels[$key] = (string) $label;
|
||||||
|
}
|
||||||
|
|
||||||
$values = array_values($values);
|
$values = array_values($values);
|
||||||
|
|
||||||
if ($config['fixed_graph'] == false) {
|
if ($config['fixed_graph'] == false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user