Fix: le prix d'un produit ne doit pas avoir la valeur NULL
This commit is contained in:
parent
4fa364ec1c
commit
f469438527
@ -209,8 +209,8 @@ class Product extends CommonObject
|
|||||||
if ($this->libelle) $sql.= "'".addslashes($this->libelle)."', ";
|
if ($this->libelle) $sql.= "'".addslashes($this->libelle)."', ";
|
||||||
$sql.= $user->id.",";
|
$sql.= $user->id.",";
|
||||||
$sql.= " ".$this->type.",";
|
$sql.= " ".$this->type.",";
|
||||||
$sql.= $price_ht.",";
|
$sql.= price2num($price_ht).",";
|
||||||
$sql.= $price_ttc.",";
|
$sql.= price2num($price_ttc).",";
|
||||||
$sql.= "'".$this->price_base_type."',";
|
$sql.= "'".$this->price_base_type."',";
|
||||||
$sql.= "'".$this->canvas."')";
|
$sql.= "'".$this->canvas."')";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user