diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 280af1fec54447e54df0a6a219cce214eb057189..1f89d71f12e7154583916a2d03efaac01d8f0e02 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -1040,9 +1040,7 @@ if ($rowid && $action != 'edit') // Confirm create third party if ($_GET["action"] == 'create_thirdparty') { - $name =$adh->nom; - if ($adh->nom && $adh->prenom) $name.=' '; - $name.=$adh->prenom; + $name = $adh->getFullName($langs); if (! empty($name)) { if ($adh->societe) $name.=' ('.$adh->societe.')';