diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 3dfc1e25d10..fd58b4263b8 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -1829,7 +1829,7 @@ class Form
* @param string $htmlname Name of HTML field
* @return void
*/
- function select_product_fourn_price($productid,$htmlname='productfournpriceid', $showempty=0)
+ function select_product_fourn_price($productid,$htmlname='productfournpriceid')
{
global $langs,$conf;
@@ -1862,7 +1862,7 @@ class Form
}
else
{
- if($showempty && $num > 1) $form.= '';
+ $form.= '';
$i = 0;
while ($i < $num)
@@ -1870,6 +1870,10 @@ class Form
$objp = $this->db->fetch_object($result);
$opt = '