Index: branches/unlabeled/unlabeled-1.36.2/core/units/admin/admin_tag_processor.php =================================================================== diff -u -r8170 -r8180 --- branches/unlabeled/unlabeled-1.36.2/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 8170) +++ branches/unlabeled/unlabeled-1.36.2/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 8180) @@ -271,12 +271,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 @@ -710,7 +710,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 * @@ -723,18 +723,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); } }