mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
This commit is contained in:
parent
f6e74ab57a
commit
767550acdd
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user