mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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
|
||||
{
|
||||
$country = Country::where('iso_3166_2', $value)
|
||||
->orWhere('iso_3166_2', $value)
|
||||
->orWhere('iso_3166_3', $value)
|
||||
->exists();
|
||||
|
||||
if ($country)
|
||||
|
Loading…
x
Reference in New Issue
Block a user