re-added ability to use $sel_options["something[else]"] removed in last commit "compatibility with eT2"

This commit is contained in:
Ralf Becker 2013-05-15 13:22:53 +00:00
parent f0e822f139
commit c496516f19

View File

@ -2063,7 +2063,8 @@ class etemplate_old extends boetemplate
$sels += $cell['sel_options']; $sels += $cell['sel_options'];
} }
} }
if (($options = self::get_array($this->sel_options, $name)) && is_array($options)) if (($options = $this->sel_options[$name]) && is_array($options) ||
($options = self::get_array($this->sel_options, $name)) && is_array($options))
{ {
$sels += $options; $sels += $options;
} }