This commit is contained in:
Ad Schellevis 2018-12-10 09:44:58 +01:00
parent f6e74ab57a
commit 767550acdd
2 changed files with 2 additions and 2 deletions

View File

@ -699,7 +699,7 @@ function return_gateway_groups_array()
$gwup = false;
if (!empty($gateways_status[$gwname])) {
$error = get_gateway_error($gateways_status[$gwname]['status'], $gwname, $group['name']);
$error = get_gateway_error($gateways_status[$gwname]['status'], $gwname, $group);
if ($error === null) {
$tiers_online++;
$gwup = true;

View File

@ -43,7 +43,7 @@ if (isset($config['gateways']['gateway_group'])) {
$gwname = explode("|", $item)[0];
if (!empty($gateways_status[$gwname])) {
$msg = get_gateway_error($gateways_status[$gwname]['status'], $gwname, $group['name']);
$msg = get_gateway_error($gateways_status[$gwname]['status'], $gwname, $group);
if (!empty($msg)) {
echo $msg . PHP_EOL;
$clean = false;