Suppression de l'arrondit du produit
This commit is contained in:
parent
97fcf149e7
commit
1440a20292
@ -112,7 +112,6 @@ class Product
|
||||
{
|
||||
$this->price = 0;
|
||||
}
|
||||
$this->price = round($this->price, 2);
|
||||
|
||||
$sql = "INSERT INTO ".MAIN_DB_PREFIX."product (datec, fk_user_author, fk_product_type, price)";
|
||||
$sql .= " VALUES (now(),".$user->id.",$this->type, " . ereg_replace(",",".",$this->price) . ")";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user