"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:17:04 +00:00
parent e522141b42
commit 583be8ddab

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;