mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
system: fix previous
This commit is contained in:
parent
fc02096046
commit
29fce66c82
@ -185,7 +185,7 @@ class Gateways extends BaseModel
|
||||
$config = Config::getInstance()->object();
|
||||
if (!empty($config->gateways) && count($config->gateways->children()) > 0) {
|
||||
foreach ($config->gateways->children() as $tag => $gateway) {
|
||||
if ($tag == 'gateway_item' && count(gateways->children()) > 0) {
|
||||
if ($tag == 'gateway_item' && count($gateway->children()) > 0) {
|
||||
$record = [];
|
||||
// iterate over the individual nodes since empty nodes still return a
|
||||
// SimpleXMLObject when the container is converted to an array
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user