From b5d2e0f4bc24d5cb18c7e71597168a471524c687 Mon Sep 17 00:00:00 2001 From: atm-lena Date: Tue, 12 Jul 2022 12:23:23 +0200 Subject: [PATCH] Clean travis return --- htdocs/bom/class/bom.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/bom/class/bom.class.php b/htdocs/bom/class/bom.class.php index c0eb5e802ea..db03f6bf0bd 100644 --- a/htdocs/bom/class/bom.class.php +++ b/htdocs/bom/class/bom.class.php @@ -424,7 +424,7 @@ class BOM extends CommonObject $sql .= " FROM ".$this->db->prefix().$objectline->table_element." as l"; $sql .= " LEFT JOIN ".$this->db->prefix()."product as p ON p.rowid = l.fk_product"; $sql .= " WHERE l.fk_".$this->db->escape($this->element)." = ".((int) $this->id); - $sql .= " AND p.fk_product_type = ". $typeproduct; + $sql .= " AND p.fk_product_type = ". ((int) $typeproduct); if (isset($objectline->fields['position'])) { $sql .= $this->db->order('position', 'ASC'); }