From bb1d8575d822aaa3d111307eaf50b5843e190018 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 7 Dec 2007 18:21:04 +0000 Subject: [PATCH] "fetching of the content of selectbox customfield did not work (options were not set)" --- infolog/inc/class.infolog_widget.inc.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_widget.inc.php b/infolog/inc/class.infolog_widget.inc.php index 80f0dd3a98..c0ac4f6888 100644 --- a/infolog/inc/class.infolog_widget.inc.php +++ b/infolog/inc/class.infolog_widget.inc.php @@ -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;