Commit 7c452dc4 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Ajout du contrôle not null si insee provisoire

parent 4fcc1afd
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment