diff --git a/htdocs/propal.class.php b/htdocs/propal.class.php index a215fbb7b7c..628a63c2a3c 100644 --- a/htdocs/propal.class.php +++ b/htdocs/propal.class.php @@ -173,16 +173,16 @@ class Propal $price = $prod->price - $remise; } - if ($conf->global->CHANGE_PROD_DESC) + /* if ($conf->global->CHANGE_PROD_DESC) { $sql = "INSERT INTO ".MAIN_DB_PREFIX."propaldet (fk_propal, fk_product, qty, price, tva_tx, description, remise_percent, subprice) VALUES "; $sql .= " (".$this->id.",". $idproduct.",'". $qty."','". $price."','".$txtva."','".addslashes($p_product_desc)."','".price2num($remise_percent)."','".price2num($subprice)."')"; } else - { + {*/ $sql = "INSERT INTO ".MAIN_DB_PREFIX."propaldet (fk_propal, fk_product, qty, price, tva_tx, description, remise_percent, subprice) VALUES "; $sql .= " (".$this->id.",". $idproduct.",'". $qty."','". $price."','".$txtva."','".addslashes($p_desc?$p_desc:$prod->label)."','".price2num($remise_percent)."','".price2num($subprice)."')"; - } + // } if ($this->db->query($sql) ) {