"fixed typo prefenting sel_options set in get_rows to be displayed"

This commit is contained in:
Ralf Becker 2008-11-16 07:20:23 +00:00
parent aad4117be2
commit aa4d4c3d0f

View File

@ -325,7 +325,7 @@ class nextmatch_widget
$total = $extension_data['total'] = $value['total'] = $obj->$method($value,$rows,$readonlys['rows']);
}
// allow the get_rows function to override / set sel_options
if (isset($rows['sel_options']) && is_array($value['rows']['sel_options']))
if (isset($rows['sel_options']) && is_array($rows['sel_options']))
{
$tmpl->sel_options = array_merge($tmpl->sel_options,$rows['sel_options']);
unset($rows['sel_options']);