mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed label Failover
This commit is contained in:
parent
aa3bf33607
commit
c0d6ae1496
@ -3176,8 +3176,12 @@ function reporting_html_availability($table, $item, $pdf=0)
|
|||||||
foreach ($item['data'] as $row) {
|
foreach ($item['data'] as $row) {
|
||||||
$table_row = [];
|
$table_row = [];
|
||||||
if (isset($row['failover'])) {
|
if (isset($row['failover'])) {
|
||||||
|
if (strpos($row['failover'], 'failover') !== false) {
|
||||||
|
$table_row[] = __('Failover');
|
||||||
|
} else {
|
||||||
$table_row[] = ucfirst($row['failover']);
|
$table_row[] = ucfirst($row['failover']);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($row['failover']) && $row['failover'] === 'result') {
|
if (isset($row['failover']) && $row['failover'] === 'result') {
|
||||||
$table_row[] = '--';
|
$table_row[] = '--';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user