fix php warning

This commit is contained in:
Florian HENRY 2021-10-06 09:56:10 +02:00
parent 123c047e29
commit 9d1915f9c2

View File

@ -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);