From c9cfb4c07590cb25d7e1019f1320165faa299280 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 26 Aug 2010 22:31:30 +0000 Subject: [PATCH] Fix: Show correct information --- htdocs/fourn/commande/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 3c4ca2ea9aa..d874e30f313 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -1014,7 +1014,7 @@ if ($id > 0 || ! empty($ref)) $product_static=new ProductFournisseur($db); $product_static->fetch($commandline->fk_product); - $text=$product_static->getNomUrl(1); + $text=$product_static->getNomUrl(1,'supplier'); $text.= ' - '.$product_static->libelle; $description=($conf->global->PRODUIT_DESC_IN_FORM?'':dol_htmlentitiesbr($commandline->description)); print $html->textwithtooltip($text,$description,3,'','',$i); @@ -1089,7 +1089,7 @@ if ($id > 0 || ! empty($ref)) { $product_static=new ProductFournisseur($db); $product_static->fetch($commandline->fk_product); - $text=$product_static->getNomUrl(1); + $text=$product_static->getNomUrl(1,'supplier'); $text.= ' - '.$product_static->libelle; $description=($conf->global->PRODUIT_DESC_IN_FORM?'':dol_htmlentitiesbr($commandline->description)); print $html->textwithtooltip($text,$description,3,'','',$i);