From 13567fef15b865c69c8a928f86a46b38257b79ae Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 3 Jul 2022 12:37:32 +0200 Subject: [PATCH] Update commonobject.class.php --- htdocs/core/class/commonobject.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {