Update api_products.class.php

This commit is contained in:
Laurent Destailleur 2021-10-06 13:42:49 +02:00 committed by GitHub
parent 5d9c87a9ea
commit 7b1b7c0ad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -462,7 +462,7 @@ class Products extends DolibarrApi
$childsArbo = $this->product->getChildsArbo($id, 1);
$keys = array('rowid','qty', 'fk_product_type', 'label', 'incdec','ref');
$keys = array('rowid', 'qty', 'fk_product_type', 'label', 'incdec', 'ref');
$childs = array();
foreach ($childsArbo as $values) {
$childs[] = array_combine($keys, $values);