This commit is contained in:
Regis Houssin 2006-06-22 15:39:32 +00:00
parent da153dabb7
commit 9c0fd000d1

View File

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