Update api_products.class.php

This commit is contained in:
Laurent Destailleur 2020-09-04 12:56:06 +02:00 committed by GitHub
parent 334224cd2d
commit a6f6db6b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -934,7 +934,7 @@ class Products extends DolibarrApi
$tmp->rang = $result->rang; $tmp->rang = $result->rang;
$tmp->entity = $result->entity; $tmp->entity = $result->entity;
$return[] = $tmp; $return[] = $this->_cleanObjectDatas($tmp);
} }
if (!count($return)) { if (!count($return)) {