diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 6f39850f..7ab583ca 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -232,7 +232,7 @@ class WrenchWallet extends BaseController $this->saveCache($endpoint,$out,1500); } - if ( count($out["result_list"][])> 0 ){ + if ( count($out["result_list"])> 0 ){ $owner_country = $out["result_list"][0]['owner_country']; $wallet_country = $first_names = array_column($owner_country , 'country');; $auxWallet = $this->auxiliaryWallets($wallet_country);