Update fournisseur.facture.class.php
Conflicts: htdocs/fourn/class/fournisseur.facture.class.php
This commit is contained in:
parent
4f45228e7b
commit
978511e127
@ -3392,13 +3392,13 @@ class SupplierInvoiceLine extends CommonObjectLine
|
|||||||
if (empty($this->fk_product)) {
|
if (empty($this->fk_product)) {
|
||||||
$fk_product = "null";
|
$fk_product = "null";
|
||||||
} else {
|
} else {
|
||||||
$fk_product = $this->fk_product;
|
$fk_product = (int) $this->fk_product;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($this->fk_unit)) {
|
if (empty($this->fk_unit)) {
|
||||||
$fk_unit = "null";
|
$fk_unit = "null";
|
||||||
} else {
|
} else {
|
||||||
$fk_unit = "'".$this->db->escape($this->fk_unit)."'";
|
$fk_unit = (int) $this->fk_unit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."facture_fourn_det SET";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."facture_fourn_det SET";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user