small fix to get $sel_options for the last name

This commit is contained in:
Ralf Becker 2002-10-04 23:15:46 +00:00
parent 1399030749
commit 2c021a3be1

View File

@ -587,11 +587,7 @@
}
elseif (count($name_parts))
{
$org_name = array_shift($name_parts);
if (count($name_parts))
{
$org_name .= '['.implode('][',$name_parts).']';
}
$org_name = $name_parts[count($name_parts)-1];
if (isset($sel_options[$org_name]))
{
$sels += $sel_options[$org_name];