Index: branches/5.3.x/core/units/permissions/permissions_event_handler.php =================================================================== diff -u -N -r15698 -r16395 --- branches/5.3.x/core/units/permissions/permissions_event_handler.php (.../permissions_event_handler.php) (revision 15698) +++ branches/5.3.x/core/units/permissions/permissions_event_handler.php (.../permissions_event_handler.php) (revision 16395) @@ -1,6 +1,6 @@ $section_permissions) { - $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'); - } - foreach ($section_permissions as $perm_name => $perm_value) { if ( !$permissions_helper->isOldPermission($section_name, $perm_name) ) { $perm_name = $section_name . '.' . $perm_name; @@ -263,4 +258,4 @@ } } -} \ No newline at end of file +}