Skip to content

Commit

Permalink
function isEUCountry fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felixd committed Apr 24, 2024
1 parent 1309d1c commit ae54739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vatchecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ public function isEUCountry( $countryCode )
{
$key = 'iso_code';
if ( is_numeric( $countryCode ) ) {
$countryCode = intval($countryCode);
$key = 'id_country';
}
foreach ( $this->getEUCountries() as $country ) {
Expand Down

0 comments on commit ae54739

Please sign in to comment.