From fb6ef0a7f82c17cfbff361e3656e66b338488ac5 Mon Sep 17 00:00:00 2001 From: ywarnier Date: Tue, 13 May 2008 16:56:13 +0000 Subject: [PATCH] Fixed error in draft invoices - not linking to the right company --- htdocs/fourn/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index 7a3e485e13f..eee7c2686bd 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -222,7 +222,7 @@ if ($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire) print $facturestatic->getNomUrl(1,''); print ''; print ''; - $companystatic->id=$obj->rowid; + $companystatic->id=$obj->socid; $companystatic->nom=$obj->nom; $companystatic->client=0; print $companystatic->getNomUrl(1,'',16);