Index: branches/5.3.x/core/units/permissions/permissions_tag_processor.php =================================================================== diff -u -N -r15698 -r16395 --- branches/5.3.x/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 15698) +++ branches/5.3.x/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 16395) @@ -1,6 +1,6 @@ Application->recallObject('SectionsHelper'); /* @var $sections_helper kSectionsHelper */ - $section_data =& $sections_helper->getSectionData($section_name); + $section_name = $sections_helper->getPermSection($section_name); - if ($section_data && isset($section_data['perm_prefix'])) { - // using permission from other prefix - $section_name = $this->Application->getUnitConfig($section_data['perm_prefix'])->getPermSectionByName('main'); - } - $permissions_helper = $this->Application->recallObject('PermissionsHelper'); /* @var $permissions_helper kPermissionsHelper */ @@ -227,4 +222,4 @@ return $this->Prefix.'['.$this->Application->GetVar('group_id').']['.$this->Application->Parser->GetParam('PermissionName').']['.$params['sub_key'].']'; } - } \ No newline at end of file + }