Index: trunk/core/units/admin/admin_tag_processor.php =================================================================== diff -u -r8104 -r8178 --- trunk/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 8104) +++ trunk/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 8178) @@ -259,12 +259,12 @@ $debug_mode = $this->Application->isDebugMode(); $super_admin_mode = $this->Application->RecallVar('super_admin'); - + ksort($section_data['children'], SORT_NUMERIC); foreach ($section_data['children'] as $section_name) { $params['section_name'] = $section_name; $section_data =& $sections_helper->getSectionData($section_name); - + if (isset($section_data['show_mode'])) { $show_mode = $section_data['show_mode']; // if super admin section -> show in super admin mode & debug mode @@ -698,7 +698,7 @@ $debug_mode = isset($params['debug_mode']) && $params['debug_mode'] ? $this->Application->isDebugMode() : true; return $debug_mode && constOn($constant_name); } - + /** * Builds link to last template in main frame of admin * @@ -711,18 +711,18 @@ if (!$last_template) { return false; } - + list(, $env) = explode('|', $last_template); $vars = $this->Application->HttpQuery->processQueryString($env, 'pass'); if ($vars['t'] == 'login' || $vars['t'] == 'index') { // prevents redirect recursion OR old in-portal pages return false; } - + $vars = array_merge_recursive2($vars, $params); $t = $vars['t']; unset($vars['t']); - + return $this->Application->HREF($t, '', $vars); } }