Skip to content
Snippets Groups Projects
Commit 40be9445 authored by Juanjo Menent's avatar Juanjo Menent
Browse files

Merge pull request #2734 from GPCsolutions/unitfix

Fix missing unit parameter
parents 4a4630a4 7b538d88
No related branches found
No related tags found
No related merge requests found
......@@ -1291,7 +1291,7 @@ class FactureFournisseur extends CommonInvoice
else $sql.= ", fk_product = null";
$sql.= ", product_type = ".$product_type;
$sql.= ", info_bits = ".$info_bits;
$sql.= ", ".($fk_unit ? "'".$this->db->escape($fk_unit)."'":"null");
$sql.= ", fk_unit = ".($fk_unit ? "'".$this->db->escape($fk_unit)."'":"null");
$sql.= " WHERE rowid = ".$id;
dol_syslog(get_class($this)."::updateline", LOG_DEBUG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment