mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
WIP failover
This commit is contained in:
parent
22734a4ea2
commit
c25b7155fa
@ -3252,6 +3252,9 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
|
|||||||
|
|
||||||
$tables_chart = '';
|
$tables_chart = '';
|
||||||
|
|
||||||
|
if (isset($item['failed']) === true && empty($item['failed']) === false) {
|
||||||
|
$tables_chart .= $item['failed'];
|
||||||
|
} else {
|
||||||
foreach ($item['charts'] as $k_chart => $chart) {
|
foreach ($item['charts'] as $k_chart => $chart) {
|
||||||
$checks_resume = '';
|
$checks_resume = '';
|
||||||
$sla_value = '';
|
$sla_value = '';
|
||||||
@ -3354,6 +3357,7 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($item['type'] == 'availability_graph') {
|
if ($item['type'] == 'availability_graph') {
|
||||||
// Table_legend_graphs.
|
// Table_legend_graphs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user