WIP failover

This commit is contained in:
Daniel Barbero Martin 2019-07-04 11:17:12 +02:00
parent 22734a4ea2
commit c25b7155fa

View File

@ -3252,6 +3252,9 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
$tables_chart = '';
if (isset($item['failed']) === true && empty($item['failed']) === false) {
$tables_chart .= $item['failed'];
} else {
foreach ($item['charts'] as $k_chart => $chart) {
$checks_resume = '';
$sla_value = '';
@ -3354,6 +3357,7 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
}
}
}
}
if ($item['type'] == 'availability_graph') {
// Table_legend_graphs.