Index: branches/5.2.x/core/kernel/processors/main_processor.php =================================================================== diff -u -N -r15012 -r15099 --- branches/5.2.x/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 15012) +++ branches/5.2.x/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 15099) @@ -1,6 +1,6 @@ SelectParam($params, 'name,var,param'); - $ret = $this->Application->GetVar($name, ''); + if ( strpos($name, '[') !== false ) { + preg_match('/([^\[\]]+)\[(.*)\]/', $name, $regs); + + $function_params = explode('][', $regs[2]); + $ret = $this->Application->GetVar($regs[1], Array ()); + array_unshift_ref($function_params, $ret); + + return call_user_func_array('getArrayValue', $function_params); + } + else { + $ret = $this->Application->GetVar($name, ''); + } + if (array_key_exists('no_html_escape', $params) && $params['no_html_escape']) { return kUtil::unhtmlentities($ret); }