diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 6b0950b4f8d..887a8fc8ec6 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -4129,6 +4129,7 @@ class Form
}
// Now add questions
+ $moreonecolumn = '';
$more .= '
'."\n";
foreach ($formquestion as $key => $input)
{
@@ -4202,13 +4203,14 @@ class Form
elseif ($input['type'] == 'onecolumn')
{
- $more .= '
';
- $more .= $input['value'];
- $more .= '
'."\n";
+ $moreonecolumn .= '
';
+ $moreonecolumn .= $input['value'];
+ $moreonecolumn .= '
'."\n";
}
}
}
$more .= '
'."\n";
+ $more .= $moreonecolumn;
}
// JQUI method dialog is broken with jmobile, we use standard HTML.