FIX : Travis errors
This commit is contained in:
parent
62bf1e4273
commit
6807c53a0f
1 changed files with 1 additions and 1 deletions
|
|
@ -709,7 +709,7 @@ class Inventory extends CommonObject
|
|||
public function getchildWarehouse($id, &$TChildWarehouse)
|
||||
{
|
||||
$sql = 'SELECT rowid FROM '.MAIN_DB_PREFIX.'entrepot';
|
||||
$sql.= ' WHERE fk_parent='.$id;
|
||||
$sql.= ' WHERE fk_parent='.(int) $id;
|
||||
$sql.= ' ORDER BY rowid';
|
||||
$resql = $this->db->query($sql);
|
||||
if($resql && $this->db->num_rows($resql)>0){
|
||||
|
|
|
|||
Loading…
Reference in a new issue