From 6ff32f3e6ec13ba7f873d1c68e4229fd0e640ab9 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 12 Feb 2006 18:13:42 +0000 Subject: [PATCH] bugfix --- htdocs/facture.class.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 03bc41ae61c..8d6d5246a29 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -1069,7 +1069,15 @@ class Facture $row = $this->db->fetch_row($resql); $rangmax = $row[0]; } - + + if ($conf->global->CHANGE_PROD_DESC) + { + if (!$product_desc) + { + $product_desc = $desc; + } + } + // Formatage des prix $price = price2num($price); $subprice = price2num($subprice);