Merge pull request #15300 from frederic34/patch-6

The property typent_code does not exist on Adherent
This commit is contained in:
Laurent Destailleur 2020-11-05 11:27:36 +01:00 committed by GitHub
commit 781cb10d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,9 @@ if ($company->id) {
}
// Si adherent lie a un tiers non de type "particulier"
if ($adherent->typent_code != 'TE_PRIVATE') $v->setOrg($company->name);
if ($company->typent_code != 'TE_PRIVATE') {
$v->setOrg($company->name);
}
}
// Personal informations