From 2dfdd98b5a6f3d0365f18461109b17f5fd9f6a84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 4 Nov 2020 20:42:16 +0100 Subject: [PATCH] Update vcard.php --- htdocs/adherents/vcard.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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