Fixed label Failover

This commit is contained in:
Daniel Maya 2020-01-27 09:32:22 +01:00
parent aa3bf33607
commit c0d6ae1496
1 changed files with 5 additions and 1 deletions

View File

@ -3176,7 +3176,11 @@ function reporting_html_availability($table, $item, $pdf=0)
foreach ($item['data'] as $row) {
$table_row = [];
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') {