diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 96a67f4051e..91de150c889 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -7232,7 +7232,7 @@ class Form
}
/**
- * Show a multiselect form from an array.
+ * Show a multiselect form from an array. WARNING: Use this only for short lists.
*
* @param string $htmlname Name of select
* @param array $array Array with key+value