When you set desiredstock to 0 as an integer from the API, it registers to null in the database. Using is_numeric() fixes this. |
||
|---|---|---|
| .. | ||
| api_deprecated_product.class.php | ||
| api_products.class.php | ||
| html.formproduct.class.php | ||
| index.html | ||
| product.class.php | ||
| productbatch.class.php | ||
| productcustomerprice.class.php | ||
| propalmergepdfproduct.class.php | ||
| service.class.php | ||