FIX : Travis returns

This commit is contained in:
Adrien Raze 2022-02-24 11:27:14 +01:00
parent 02917f28df
commit 50028dadef

View file

@ -294,7 +294,7 @@ class Inventory extends CommonObject
}
if ($this->include_sub_warehouse>0 && $conf->global->INVENTORY_INCLUDE_SUB_WAREHOUSE) {
$this->getchildWarehouse($this->fk_warehouse, $TChildWarehouses);
$sql .= " OR ps.fk_entrepot IN (".implode(',', $TChildWarehouses).")";
$sql .= " OR ps.fk_entrepot IN (".filter_var(implode(',', $TChildWarehouses),FILTER_SANITIZE_STRING).")";
}
$sql .= ')';