Fixing style errors.
This commit is contained in:
parent
a98c5b9841
commit
52c057b9dd
@ -1328,7 +1328,7 @@ class Products extends DolibarrApi
|
|||||||
$objectval = new ProductAttributeValue($this->db);
|
$objectval = new ProductAttributeValue($this->db);
|
||||||
|
|
||||||
$return = $objectval->fetchAllByProductAttribute((int) $id);
|
$return = $objectval->fetchAllByProductAttribute((int) $id);
|
||||||
|
|
||||||
if (count($return) == 0) {
|
if (count($return) == 0) {
|
||||||
throw new RestException(404, 'Attribute values not found');
|
throw new RestException(404, 'Attribute values not found');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user