diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 36e6582f252..3bfdb67b65b 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -5044,7 +5044,7 @@ class Form
* @param string $htmlname Name of select zone
* @param int $status Status of searched accounts (0=open, 1=closed, 2=both)
* @param string $filtre To filter the list. This parameter must not come from input of users
- * @param int $useempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
+ * @param int|string $useempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
* @param string $moreattrib To add more attribute on select
* @param int $showcurrency Show currency in label
* @param string $morecss More CSS
@@ -5079,7 +5079,10 @@ class Form
$i = 0;
if ($num) {
$out .= '