From f537543102bd58bc33e8293c09ff93b9f1aa794d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 26 May 2006 12:47:14 +0000 Subject: [PATCH] bugfix --- htdocs/comm/action/fiche.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 6a0061151a1..cba769b4a87 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -486,8 +486,16 @@ if ($_GET["id"]) print ''.$langs->trans("Contact").''; print ''; - if ($act->contact->id) print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.''; - else print $langs->trans("None"); + + if ($act->contact->id) + { + print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.''; + } + else + { + print $langs->trans("None"); + } + print ''; // Auteur