mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01: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
|
||||
{
|
||||
$country = Country::where('iso_3166_2', $value)
|
||||
->orWhere('iso_3166_2', $value)
|
||||
->orWhere('iso_3166_3', $value)
|
||||
->exists();
|
||||
|
||||
if ($country)
|
||||
|
Loading…
Reference in New Issue
Block a user