Fix #19070 : Api subproducts was returning false
This commit is contained in:
parent
f1565bb283
commit
604052d1a1
@ -405,7 +405,7 @@ class Products extends DolibarrApi
|
||||
|
||||
$childsArbo = $this->product->getChildsArbo($id, 1);
|
||||
|
||||
$keys = ['rowid', 'qty', 'fk_product_type', 'label', 'incdec'];
|
||||
$keys = ['rowid', 'qty', 'fk_product_type', 'label', 'incdec', 'ref'];
|
||||
$childs = [];
|
||||
foreach ($childsArbo as $values) {
|
||||
$childs[] = array_combine($keys, $values);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user