Update api_products.class.php
This commit is contained in:
parent
15fe2a7205
commit
01db1161b6
1 changed files with 1 additions and 1 deletions
|
|
@ -1872,7 +1872,7 @@ class Products extends DolibarrApi
|
|||
}
|
||||
|
||||
// product is used
|
||||
$this->product->is_object_used = $this->product->isObjectUsed();
|
||||
$this->product->is_object_used = $this->product->isObjectUsed() > 0;
|
||||
|
||||
return $this->_cleanObjectDatas($this->product);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue