From dc31ffc43715847abebca7ce0d81e157eac956af Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Jul 2007 09:52:42 +0000 Subject: [PATCH] Fix: Lien facture incorrect --- htdocs/comm/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 7a5e7db7b23..7ca22bca919 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -944,7 +944,7 @@ if ($socid > 0) if ($obj->fk_facture) { $facturestatic->ref=$langs->trans("Invoice"); - $facturestatic->id=$obj->rowid; + $facturestatic->id=$obj->fk_facture; $facturestatic->type=$obj->type; print $facturestatic->getNomUrl(1,'compta'); }