Update api_products.class.php
This commit is contained in:
parent
b271e1a3b0
commit
20acf440a3
@ -132,7 +132,7 @@ class Products extends DolibarrApi
|
||||
if ($mode == 1) {
|
||||
// Show only products
|
||||
$sql.= " AND t.fk_product_type = 0";
|
||||
} elseif ($mode == 2) {
|
||||
} elseif ($mode == 2) {
|
||||
// Show only services
|
||||
$sql.= " AND t.fk_product_type = 1";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user