--- uc_vat_number.module.orig 2008-11-18 17:57:18.000000000 +0100 +++ uc_vat_number.module 2009-01-28 13:07:39.000000000 +0100 @@ -203,7 +203,7 @@ function uc_vat_number_checkout_validate $countryCode = substr($vat_number, 0, 2); $vatNumber = substr($vat_number, 2); - if(strlen($countryCode) != 2 or is_numeric(substr($countryCode, 0, 1)) or is_numeric(substr($countryCode, 1, 2)) or !is_numeric($vatNumber)) { + if(strlen($countryCode) != 2 or is_numeric(substr($countryCode, 0, 1)) or is_numeric(substr($countryCode, 1, 2)) ) { form_set_error('panes][billing][billing_vat_number', t('Your VAT Number syntax is not correct. You should have something like that : FR0123456789')); return; }