Minor fixes for client country code rules
This commit is contained in:
parent
c57422617f
commit
50119240b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue