Fixing style errors.

This commit is contained in:
stickler-ci 2020-09-04 11:06:43 +00:00
parent a98c5b9841
commit 52c057b9dd

View File

@ -1328,7 +1328,7 @@ class Products extends DolibarrApi
$objectval = new ProductAttributeValue($this->db);
$return = $objectval->fetchAllByProductAttribute((int) $id);
if (count($return) == 0) {
throw new RestException(404, 'Attribute values not found');
}