Update extrafields.class.php
This commit is contained in:
parent
6e4962bb39
commit
33a20ae9a1
@ -1340,8 +1340,7 @@ class ExtraFields
|
|||||||
elseif ($type == 'checkbox')
|
elseif ($type == 'checkbox')
|
||||||
{
|
{
|
||||||
$value_arr = $value;
|
$value_arr = $value;
|
||||||
if (!is_array($value))
|
if (!is_array($value)) {
|
||||||
{
|
|
||||||
$value_arr = explode(',', $value);
|
$value_arr = explode(',', $value);
|
||||||
}
|
}
|
||||||
$out = $form->multiselectarray($keyprefix.$key.$keysuffix, (empty($param['options']) ?null:$param['options']), $value_arr, '', 0, '', 0, '100%');
|
$out = $form->multiselectarray($keyprefix.$key.$keysuffix, (empty($param['options']) ?null:$param['options']), $value_arr, '', 0, '', 0, '100%');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user