diff --git a/htdocs/webservices/server_productorservice.php b/htdocs/webservices/server_productorservice.php index 37e5dd7cdcc..87c1c829ee4 100644 --- a/htdocs/webservices/server_productorservice.php +++ b/htdocs/webservices/server_productorservice.php @@ -706,8 +706,14 @@ function getListOfProductsOrServices($authentication,$filterproduct) } -// return category infos and children -function getProductsForCategory($authentication,$id,$lang='') +/** + * getProductsForCategory + * + * @param array $authentication Array of authentication information + * @param array $id Category id + * @param $lang $lang Force lang + * @return array Array result + */function getProductsForCategory($authentication,$id,$lang='') { global $db,$conf,$langs;