mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed label Failover
This commit is contained in:
parent
aa3bf33607
commit
c0d6ae1496
@ -3176,7 +3176,11 @@ 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'])) {
|
||||||
$table_row[] = ucfirst($row['failover']);
|
if (strpos($row['failover'], 'failover') !== false) {
|
||||||
|
$table_row[] = __('Failover');
|
||||||
|
} else {
|
||||||
|
$table_row[] = ucfirst($row['failover']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($row['failover']) && $row['failover'] === 'result') {
|
if (isset($row['failover']) && $row['failover'] === 'result') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user