diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 8009691437c..c628a3dee40 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -2876,9 +2876,7 @@ class Form
{
global $langs;
- $out='';
-
- $out.='