mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 23:34:36 -04:00
Minor fixes for client country code rules
This commit is contained in:
parent
c57422617f
commit
50119240b9
@ -49,7 +49,7 @@ class CountryCodeExistsRule implements Rule
|
|||||||
private function checkIfCodeExists($value) : bool
|
private function checkIfCodeExists($value) : bool
|
||||||
{
|
{
|
||||||
$country = Country::where('iso_3166_2', $value)
|
$country = Country::where('iso_3166_2', $value)
|
||||||
->orWhere('iso_3166_2', $value)
|
->orWhere('iso_3166_3', $value)
|
||||||
->exists();
|
->exists();
|
||||||
|
|
||||||
if ($country)
|
if ($country)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user