Fixing style errors.
This commit is contained in:
parent
474bfdd6bc
commit
a8563de1c4
@ -188,7 +188,7 @@ class Products extends DolibarrApi
|
|||||||
}
|
}
|
||||||
$sql .= ' WHERE t.entity IN ('.getEntity('product').')';
|
$sql .= ' WHERE t.entity IN ('.getEntity('product').')';
|
||||||
|
|
||||||
if($without_variants){
|
if ($without_variants) {
|
||||||
$sql .= ' AND t.rowid in (select distinct fk_product_parent from '.MAIN_DB_PREFIX.'product_attribute_combination)';
|
$sql .= ' AND t.rowid in (select distinct fk_product_parent from '.MAIN_DB_PREFIX.'product_attribute_combination)';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user