Skip to content
Snippets Groups Projects
Commit daaf909c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Bad check of idprof2

parent a829b101
Branches
Tags
No related merge requests found
......@@ -2019,7 +2019,7 @@ class Societe extends CommonObject
// Verifie SIRET si pays FR
if ($idprof == 2 && $soc->country_code == 'FR')
{
$chaine=trim($this->idprof1);
$chaine=trim($this->idprof2);
$chaine=preg_replace('/(\s)/','',$chaine);
if (dol_strlen($chaine) != 14) return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment