diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index 51b8d38c5aa..49993132e1d 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -291,9 +291,14 @@ else print ''.$yn[$fuser->admin].''; print "\n"; - print "".'Id Société'; - print ''.$fuser->societe_id.' '; - print "\n"; + if ($fuser->societe_id > 0) + { + $societe = new Societe($db); + $societe->fetch($fuser->societe_id); + print "".'Société'; + print ''.$societe->nom.' '; + print "\n"; + } print "".'Fiche contact'; print '';