From 9c0fd000d1d372390d32ab95f14c3f06dfc6b84b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 22 Jun 2006 15:39:32 +0000 Subject: [PATCH] bugfix --- htdocs/commande/commande.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 78fd724db31..f7295f04894 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -557,7 +557,7 @@ class Commande extends CommonObject */ function add_product($idproduct, $qty, $remise_percent=0) { - global $conf; + global $conf, $mysoc; if (!$qty) $qty = 1;