diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index d506035c143..0653aa4a2c7 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -519,7 +519,10 @@ if ($_GET["id"]) print ''.img_object($langs->trans("ShowCompany"),'company').' '.$act->societe->nom_url.''; print ''.$langs->trans("Contact").''; - print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.''; + print ''; + if ($act->contact->id) print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.''; + else print $langs->trans("None"); + print ''; print ''.$langs->trans("DateCreation").''.strftime('%d %B %Y %H:%M',$act->date).''; print ''.$langs->trans("Author").''; print ''.img_object($langs->trans("ShowUser"),'user').' '.$act->author->fullname.'';