"fetching of the content of selectbox customfield did not work (options were not set)"

This commit is contained in:
Ralf Becker 2007-12-07 18:21:04 +00:00
parent 0c26f4d523
commit bb1d8575d8

View File

@ -157,7 +157,14 @@ class infolog_widget
if ($type{0} == '#') // custom field --> use field-type itself
{
$field = $this->infolog->customfields[substr($type,1)];
if (($cell['type'] = $field['type'])) break;
if (($cell['type'] = $field['type']))
{
if ($field['type'] == 'select')
{
$cell['sel_options'] = $field['values'];
}
break;
}
}
$cell['type'] = 'label';
break;