mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch '1198-errors-in-boolean-chart-second-time-dev' into 'develop'
Added minor change to boolean charts See merge request !795
This commit is contained in:
commit
1356cd45e1
@ -4084,7 +4084,7 @@ function grafico_modulo_boolean_data ($agent_module_id, $period, $show_events,
|
||||
//New code set 0 if there is a 0
|
||||
//Please check the incident #665
|
||||
//http://192.168.50.2/integria/index.php?sec=incidents&sec2=operation/incidents/incident_dashboard_detail&id=665
|
||||
$chart[$timestamp]['sum'.$series_suffix] = $last_known;
|
||||
$chart[$timestamp]['sum'.$series_suffix] = 0;
|
||||
}
|
||||
else if ($zero == 1) { // Just zeros
|
||||
$chart[$timestamp]['sum'.$series_suffix] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user