From 1e7159890f08745dc90fbb966d4cd556e49c592a Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 27 Oct 2024 16:07:14 -0400 Subject: [PATCH] change conditions --- 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 ca08ffbc..f1e23488 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -338,7 +338,7 @@ class WrenchWallet extends BaseController $retArr=[]; foreach ( $auxWallet as $item){ - if ( in_array( $owner_country, $item['wallet_country']) && $item['status'] == 1 ){ + if ( in_array( $owner_country, $item['wallet_country']) && $item['status'] == 00 ){ log_message('critical', "***** ***** auxiliaryWallets::ITEM ". serialize($item)); $retArr[] =$item; }