From f9a2123b91dfe1dd122bfe69b54f980476099b49 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 11 Feb 2006 17:29:27 +0000 Subject: [PATCH] modification de la description produit --- htdocs/commande/commande.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 37a8d91409f..1d580562287 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -364,6 +364,7 @@ class Commande $qty = ereg_replace(',','.',$qty); $pu = ereg_replace(',','.',$pu); $desc=trim($desc); + $product_desc=trim($desc); if (strlen(trim($qty))==0) { $qty=1; @@ -380,6 +381,7 @@ class Commande if ($prod->fetch($fk_product) > 0) { $desc = $desc?$desc:$prod->libelle; + $product_desc = $product_desc?$product_desc:$prod->description; // multiprix if($conf->global->PRODUIT_MULTIPRICES == 1) {