1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Minor fixes for client country code rules

This commit is contained in:
David Bomba 2021-11-01 16:12:10 +11:00
parent c57422617f
commit 50119240b9

View File

@ -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)