diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 3004e8c6398..9e58dfe4e5c 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -3478,7 +3478,7 @@ class Form
// If reset_scripts is not empty, print the button with the reset_scripts in OnClick
if ($reset_scripts)
{
- $retstring.='