diff --git a/module/Application/src/Application/Validator/NumeroINSEEValidator.php b/module/Application/src/Application/Validator/NumeroINSEEValidator.php index 177bd7630d65a2929cbac0b3725ae662f4e02dd6..73f94beb8888d7d02daa1b9bad6cf92915e9b895 100755 --- a/module/Application/src/Application/Validator/NumeroINSEEValidator.php +++ b/module/Application/src/Application/Validator/NumeroINSEEValidator.php @@ -91,9 +91,9 @@ class NumeroINSEEValidator extends NumeroINSEE $civilite = $this->getOption('civilite'); $this->provisoire = $this->getProvisoire(); - + if ($this->getProvisoire()) { - return true; + return !empty($value); } //Désactivation du test civilité sur l'insee (cas personnes changeant de sexe)