fix php warning
This commit is contained in:
parent
123c047e29
commit
9d1915f9c2
@ -462,7 +462,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