diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 614b17a4967..88e7f9b5b43 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4130,9 +4130,6 @@ class Form // Now add questions $more .= '
'."\n"; - if (!empty($formquestion['text'])) { - $more .= '
'.$formquestion['text'].'
'."\n"; - } foreach ($formquestion as $key => $input) { if (is_array($input) && !empty($input)) @@ -4246,8 +4243,11 @@ class Form } // Show JQuery confirm box. Note that global var $useglobalvars is used inside this template $formconfirm .= ''."\n"; @@ -4339,6 +4339,11 @@ class Form // Line title $formconfirm .= ''.img_picto('', 'recent').' '.$title.''."\n"; + // Line text + if (!empty($formquestion['text'])) { + $formconfirm .= ''.$formquestion['text'].''."\n"; + } + // Line form fields if ($more) {