Merge pull request #5719 from philippe-opendsi/3.8_patch_1

FIX #5705 Supplier Order's lines array initalisation
This commit is contained in:
Juanjo Menent 2016-09-08 18:06:25 +02:00 committed by GitHub
commit ff632718fa

View File

@ -243,7 +243,8 @@ class CommandeFournisseur extends CommonOrder
$this->fetch_optionals($this->id,$extralabels);
if ($this->statut == 0) $this->brouillon = 1;
$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,";