diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 4f7b3be7df4..4414a288383 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -256,7 +256,8 @@ class Form {
{
$array[0] = "-";
}
- sort ($array);
+ reset($array);
+
while (list($key, $value) = each ($array))
{
print "