diff --git a/htdocs/adherents/vcard.php b/htdocs/adherents/vcard.php index 32b4a6de2d6..dbdbbc687ea 100644 --- a/htdocs/adherents/vcard.php +++ b/htdocs/adherents/vcard.php @@ -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