diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index c5d239e5372..7f52cb099a1 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -4295,9 +4295,17 @@ class Form
$more .= '
';
if (!empty($input['label'])) $more .= $input['label'].'
';
- $more .= $this->selectarray($input['name'], $input['values'], $input['default'], 1, 0, 0, $moreattr, 0, 0, 0, '', $morecss);
+ $more .= $this->selectarray($input['name'], $input['values'], $input['default'], $show_empty, $key_in_label, $value_as_key, $moreattr, $translate, $maxlen, $disabled, $sort, $morecss);
$more .= '
'."\n";
} elseif ($input['type'] == 'checkbox')
{