diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index 08de105a5b3..ca755dbed4a 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -7000,12 +7000,12 @@ abstract class CommonObject
$out = $form->multiselectarray($keyprefix.$key.$keysuffix, (empty($param['options']) ?null:$param['options']), $value_arr, '', 0, '', 0, '100%');
} elseif ($type == 'radio') {
$out = '';
- foreach ($param['options'] as $keyopt => $val2) {
+ foreach ($param['options'] as $keyopt => $valopt) {
$out .= ''.$val2.'
';
+ $out .= '/>
';
}
} elseif ($type == 'chkbxlst') {
if (is_array($value)) {