Index: branches/5.2.x/core/kernel/processors/main_processor.php =================================================================== diff -u -N -r14638 -r14699 --- branches/5.2.x/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 14638) +++ branches/5.2.x/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 14699) @@ -1,6 +1,6 @@ HTML tag for all templates * affects future css, js files and href params of links * + * @param Array $params * @return string - * @access public + * @access protected */ - function Base_Ref($params) + protected function Base_Ref($params) { - return ''; + return ''; } /** @@ -805,7 +806,9 @@ function RequireLogin($params) { $t = $this->Application->GetVar('t'); - if ($next_t = getArrayValue($params, 'next_template')) { + $next_t = getArrayValue($params, 'next_template'); + + if ( $next_t ) { $t = $next_t; }