From c496516f193acf3e3dc282bca686acdcf87957b4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 15 May 2013 13:22:53 +0000 Subject: [PATCH] re-added ability to use $sel_options["something[else]"] removed in last commit "compatibility with eT2" --- etemplate/inc/class.etemplate_old.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_old.inc.php b/etemplate/inc/class.etemplate_old.inc.php index d43dbc2224..d823d5a141 100644 --- a/etemplate/inc/class.etemplate_old.inc.php +++ b/etemplate/inc/class.etemplate_old.inc.php @@ -2063,7 +2063,8 @@ class etemplate_old extends boetemplate $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; }