diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 487c7eb36b4..a1c9682b361 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -248,7 +248,6 @@ class Product $this->db->free(); - $sql = "SELECT reel, fk_entrepot"; $sql .= " FROM ".MAIN_DB_PREFIX."product_stock WHERE fk_product = $id"; $result = $this->db->query($sql) ; @@ -275,8 +274,6 @@ class Product } $this->db->free(); } - - return 1; } else