diff --git a/app/Http/ValidationRules/Client/CountryCodeExistsRule.php b/app/Http/ValidationRules/Client/CountryCodeExistsRule.php index 63aa2c0dfc..f8fd208971 100644 --- a/app/Http/ValidationRules/Client/CountryCodeExistsRule.php +++ b/app/Http/ValidationRules/Client/CountryCodeExistsRule.php @@ -49,7 +49,7 @@ class CountryCodeExistsRule implements Rule private function checkIfCodeExists($value) : bool { $country = Country::where('iso_3166_2', $value) - ->orWhere('iso_3166_2', $value) + ->orWhere('iso_3166_3', $value) ->exists(); if ($country)