Skip to content
Snippets Groups Projects
Commit f4694385 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: le prix d'un produit ne doit pas avoir la valeur NULL

parent 4fa364ec
Branches
Tags
No related merge requests found
......@@ -209,8 +209,8 @@ class Product extends CommonObject
if ($this->libelle) $sql.= "'".addslashes($this->libelle)."', ";
$sql.= $user->id.",";
$sql.= " ".$this->type.",";
$sql.= $price_ht.",";
$sql.= $price_ttc.",";
$sql.= price2num($price_ht).",";
$sql.= price2num($price_ttc).",";
$sql.= "'".$this->price_base_type."',";
$sql.= "'".$this->canvas."')";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment