Index: trunk/core/kernel/application.php =================================================================== diff -u -N -r8598 -r8605 --- trunk/core/kernel/application.php (.../application.php) (revision 8598) +++ trunk/core/kernel/application.php (.../application.php) (revision 8605) @@ -160,6 +160,8 @@ var $CompilationCache = array(); //used when compiling templates var $CachedProcessors = array(); //used when running compiled templates + var $LambdaElements = 1; // for autonumbering unnamed RenderElements [any better place for this prop? KT] + /** * Returns kApplication instance anywhere in the script. * @@ -1123,7 +1125,7 @@ } } - if (getArrayValue($params, 'opener') == 'u') { + if (isset($params['opener']) && $params['opener'] == 'u') { $wid = $this->Application->GetVar('m_wid'); $stack_name = rtrim('opener_stack_'.$wid, '_'); $opener_stack = $this->RecallVar($stack_name); @@ -1195,7 +1197,8 @@ } // append pass through variables to each link to be build - $params = array_merge_recursive2($this->getPassThroughVariables($params), $params); +// $params = array_merge_recursive2($this->getPassThroughVariables($params), $params); + $params = array_merge($this->getPassThroughVariables($params), $params); if ($force_rewrite || ($this->RewriteURLs($ssl) && !$no_rewrite)) { @@ -1496,7 +1499,7 @@ $params['admin'] = 1; } - if( getArrayValue($params,'escape') ) + if( isset($params['escape']) && $params['escape'] ) { $ret = addslashes($ret); unset($params['escape']);