Skip to content
Snippets Groups Projects
Commit fd00b16b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Bad log format

parent efc61be1
No related branches found
No related tags found
No related merge requests found
...@@ -1765,7 +1765,7 @@ class Product extends CommonObject ...@@ -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 ...@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment