Skip to content
Snippets Groups Projects
Commit 7b538d88 authored by Raphaël Doursenaud's avatar Raphaël Doursenaud
Browse files

Fix missing unit parameter

Prevented the input of supplier invoices lines from working
parent 3b38949f
Branches
Tags
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.
Please register or to comment