mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
system: fix warnings
This commit is contained in:
parent
a73d032397
commit
b6c3ab45e7
@ -358,7 +358,7 @@ $( document ).ready(function() {
|
||||
<?=$gateway['gateway'];?>
|
||||
</td>
|
||||
<td class="hidden-xs hidden-sm hidden-md">
|
||||
<?=$gateway['monitor'];?>
|
||||
<?= $gateway['monitor'] ?? '' ?>
|
||||
</td>
|
||||
<td class="text-nowrap hidden-xs">
|
||||
<?= !empty($gateways_status[$gateway['name']]) ? $gateways_status[$gateway['name']]['delay'] : "~" ?>
|
||||
@ -373,7 +373,7 @@ $( document ).ready(function() {
|
||||
<?php
|
||||
$online = gettext('Pending');
|
||||
$gateway_label_class = 'default';
|
||||
if ($gateways_status[$gateway['name']]) {
|
||||
if (!empty($gateways_status[$gateway['name']])) {
|
||||
$status = $gateways_status[$gateway['name']];
|
||||
if (stristr($status['status'], 'force_down')) {
|
||||
$online = gettext('Offline (forced)');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user