Fix: Bad log format
This commit is contained in:
parent
efc61be1a4
commit
fd00b16b19
@ -1765,7 +1765,7 @@ class Product extends CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a supplier price for the product.
|
* Add a supplier price for the product.
|
||||||
* Note: Duplicate ref is accepted for different quantity only or for different companies.
|
* Note: Duplicate ref is accepted for different quantity only, or for different companies.
|
||||||
*
|
*
|
||||||
* @param User $user User that make link
|
* @param User $user User that make link
|
||||||
* @param int $id_fourn Supplier id
|
* @param int $id_fourn Supplier id
|
||||||
@ -1841,7 +1841,7 @@ class Product extends CommonObject
|
|||||||
$sql.= ", 0";
|
$sql.= ", 0";
|
||||||
$sql.= ")";
|
$sql.= ")";
|
||||||
|
|
||||||
dol_syslog(get_class($this)."add_fournisseur sql=".$sql);
|
dol_syslog(get_class($this)."::add_fournisseur sql=".$sql);
|
||||||
if ($this->db->query($sql))
|
if ($this->db->query($sql))
|
||||||
{
|
{
|
||||||
$this->product_fourn_price_id = $this->db->last_insert_id(MAIN_DB_PREFIX."product_fournisseur_price");
|
$this->product_fourn_price_id = $this->db->last_insert_id(MAIN_DB_PREFIX."product_fournisseur_price");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user