From a6da898570da4eceff295e22bb7e6841dea4e5d9 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 18 Oct 2024 21:59:29 -0400 Subject: [PATCH] wallet_country --- www-api/app/Controllers/WrenchWallet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 2f90dc98..3acfbd6b 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -372,7 +372,7 @@ class WrenchWallet extends BaseController $retArr=[]; foreach ( $auxWallet as $item){ - if ( in_array( $item['owner_country'], $wallet_country) ){ + if ( in_array( $item['owner_country'], $item['wallet_country']) ){ log_message('critical', "***** ***** auxiliaryWallets::ITEM ". serialize($item)); $retArr[] =$item; }