Update api_products.class.php
This commit is contained in:
parent
15fe2a7205
commit
01db1161b6
@ -1872,7 +1872,7 @@ class Products extends DolibarrApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
// product is used
|
// 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);
|
return $this->_cleanObjectDatas($this->product);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user