Update api_products.class.php

This commit is contained in:
Frédéric FRANCE 2018-11-10 07:55:01 +01:00 committed by GitHub
parent b271e1a3b0
commit 20acf440a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}