Fix phpcs

This commit is contained in:
Laurent Destailleur 2024-03-05 21:19:42 +01:00
parent cb20a1d033
commit 95b7fe7dd3

View file

@ -3563,7 +3563,7 @@ class Product extends CommonObject
}
if (!$serviceStockIsEnabled) {
$sql .= "AND EXISTS (SELECT p.rowid FROM ".$this->db->prefix()."product AS p WHERE p.rowid = ".((int) $this->id)." AND p.fk_product_type IN (0))";
}
}
if (!empty($warehouseid)) {
$sql.= " AND m.fk_warehouse = ".((int) $warehouseid);
}