Index: units/admin/admin_tag_processor.php =================================================================== --- units/admin/admin_tag_processor.php (revision 13987) +++ units/admin/admin_tag_processor.php (working copy) @@ -360,14 +360,20 @@ function ListTabs($params) { $sections_helper =& $this->Application->recallObject('SectionsHelper'); + /* @var $sections_helper kSectionsHelper */ + $section_data =& $sections_helper->getSectionData($params['section_name']); $ret = ''; $block_params = Array('name' => $params['render_as']); ksort($section_data['children'], SORT_NUMERIC); foreach ($section_data['children'] as $priority => $section_name) { - if (!$this->Application->CheckPermission($section_name.'.view', 1)) continue; + $perm_section = $sections_helper->getPermSection($section_name); + if ( !$this->Application->CheckPermission($perm_section.'.view') ) { + continue; + } + $tab_data =& $sections_helper->getSectionData($section_name); $block_params['t'] = $tab_data['url']['t']; $block_params['title'] = $tab_data['label'];