1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-11 23:24:14 +01:00

Fix codice fiscale vuoto

This commit is contained in:
Thomas Zilio 2018-11-16 19:50:02 +01:00
parent f5ef5a64f2
commit 819bda587f

View File

@ -143,6 +143,9 @@ class Validate
public static function isValidTaxCode($codice_fiscale) public static function isValidTaxCode($codice_fiscale)
{ {
if (empty($codice_fiscale)) {
return true;
}
$validator = new CodiceFiscale\Validator($codice_fiscale); $validator = new CodiceFiscale\Validator($codice_fiscale);