Fixing style errors.

This commit is contained in:
stickler-ci 2019-11-21 21:54:51 +00:00
parent 1bc8c57d6d
commit 821ca724a5

View File

@ -1350,7 +1350,7 @@ class Products extends DolibarrApi
if (empty($id) || empty($features) || !is_array($features)) {
throw new RestException(401);
}
$weight_impact = price2num($weight_impact);
$price_impact = price2num($price_impact);
@ -1412,7 +1412,7 @@ class Products extends DolibarrApi
if (empty($ref) || empty($features) || !is_array($features)) {
throw new RestException(401);
}
$weight_impact = price2num($weight_impact);
$price_impact = price2num($price_impact);