forked from Wavyzz/dolibarr
bugfix
This commit is contained in:
@@ -342,11 +342,11 @@ class Commande
|
||||
|
||||
if ($conf->global->CHANGE_PROD_DESC)
|
||||
{
|
||||
$sql .= " ('".$this->id."', '$p_product_id','". $p_qty."','". $price."','".$p_tva_tx."','".addslashes($p_desc)."','".addslashes($p_product_desc)."', '$remise_percent', '$subprice') ; ";
|
||||
$sql .= " ('".$this->id."', '$p_product_id','". $p_qty."','".price2num($price)."','".$p_tva_tx."','".addslashes($p_desc)."','".addslashes($p_product_desc)."', '$remise_percent', '$subprice') ; ";
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql .= " ('".$this->id."', '$p_product_id','". $p_qty."','". $price."','".$p_tva_tx."','".addslashes($p_desc)."','".addslashes($p_desc)."', '$remise_percent', '$subprice') ; ";
|
||||
$sql .= " ('".$this->id."', '$p_product_id','". $p_qty."','".price2num($price)."','".$p_tva_tx."','".addslashes($p_desc)."','".addslashes($p_desc)."', '$remise_percent', '$subprice') ; ";
|
||||
}
|
||||
|
||||
if ($this->db->query($sql) )
|
||||
|
||||
Reference in New Issue
Block a user