No initialisation of the array before filling it. May cause some trouble when fetch is call several times and lines added or deleted
This commit is contained in:
parent
c0d6d6d92c
commit
21ab4e5c91
@ -271,6 +271,8 @@ class CommandeFournisseur extends CommonOrder
|
||||
|
||||
$this->fetchObjectLinked();
|
||||
|
||||
$this->lines=array();
|
||||
|
||||
$sql = "SELECT l.rowid, l.ref as ref_supplier, l.fk_product, l.product_type, l.label, l.description,";
|
||||
$sql.= " l.qty,";
|
||||
$sql.= " l.tva_tx, l.remise_percent, l.subprice,";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user