diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index fd58b4263b85b..3205206a11c0b 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1400,7 +1400,7 @@ function select_produits_list($selected='',$htmlname='productid',$filtertype='', $objp->remise = $objp2->remise; $objp->price_by_qty_rowid = $objp2->rowid; - $this->_construct_product_list_option($objp, $opt, $optJson, 0, $selected); + $this->constructProductListOption($objp, $opt, $optJson, 0, $selected); $j++; @@ -1414,7 +1414,7 @@ function select_produits_list($selected='',$htmlname='productid',$filtertype='', } else { - $this->_construct_product_list_option($objp, $opt, $optJson, $price_level, $selected); + $this->constructProductListOption($objp, $opt, $optJson, $price_level, $selected); // Add new entry // "key" value of json key array is used by jQuery automatically as selected value // "label" value of json key array is used by jQuery automatically as text for combo box