From 29006a2da0d241433d51527a70ec72ff872048ee Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 20 Jul 2021 15:09:02 +1000 Subject: [PATCH] Fixes for client - country codes --- app/Http/Requests/Client/StoreClientRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/Client/StoreClientRequest.php b/app/Http/Requests/Client/StoreClientRequest.php index 3a3cd81b1654..a27df9afb5d6 100644 --- a/app/Http/Requests/Client/StoreClientRequest.php +++ b/app/Http/Requests/Client/StoreClientRequest.php @@ -116,7 +116,7 @@ class StoreClientRequest extends Request $input['settings'] = $settings; - if (isset($input['country_code']) && strlen($input['country_code']) == 3) { + if (isset($input['country_code'])) { $input['country_id'] = $this->getCountryCode($input['country_code']); }