Update api_products.class.php

This commit is contained in:
Cédric 2021-03-08 12:12:29 +01:00 committed by GitHub
parent 7ae57fb8d0
commit 5fc5d9ab48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ class Products extends DolibarrApi
$obj_ret[] = $this->_cleanObjectDatas($product_static); $obj_ret[] = $this->_cleanObjectDatas($product_static);
} }
} else { } else {
$obj_ret[] = $obj; $obj_ret[] = $obj->rowid;
} }
$i++; $i++;
} }