From 1f04b538278deb024292d655a74a4b28f951dde6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 26 May 2006 12:56:40 +0000 Subject: [PATCH] Fix: affichait un lien si aucun contact --- htdocs/comm/action/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index cba769b4a87..fec8b67981c 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -487,7 +487,7 @@ if ($_GET["id"]) print ''.$langs->trans("Contact").''; print ''; - if ($act->contact->id) + if ($act->contact->id > 0) { print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.''; }