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);