diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index d61804f1c0a..871f6a2d209 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2340,11 +2340,12 @@ class Form /** * Return list of suppliers prices for a product * - * @param int $productid Id of product - * @param string $htmlname Name of HTML field - * @return string|null + * @param int $productid Id of product + * @param string $htmlname Name of HTML field + * @param int $selected_supplier Pre-selected supplier if more than 1 result + * @return void */ - function select_product_fourn_price($productid, $selected_supplier='', $htmlname='productfournpriceid') + function select_product_fourn_price($productid, $htmlname='productfournpriceid', $selected_supplier='') { global $langs,$conf; diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php index bb447a8dfc0..96dd647d561 100644 --- a/htdocs/product/stock/replenish.php +++ b/htdocs/product/stock/replenish.php @@ -644,7 +644,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) print '