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:
vgilc 2017-09-07 15:29:12 +02:00
commit 1356cd45e1

View File

@ -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;