Index: trunk/core/kernel/utility/event.php =================================================================== diff -u -r4670 -r4689 --- trunk/core/kernel/utility/event.php (.../event.php) (revision 4670) +++ trunk/core/kernel/utility/event.php (.../event.php) (revision 4689) @@ -287,11 +287,11 @@ return $perm_section; } - $main_prefix = $this->Application->GetTopmostPrefix($this->Prefix); - $section = $this->Application->getUnitOption($main_prefix.'.main', 'PermSection'); + $top_prefix = $this->getEventParam('top_prefix'); + $section = $this->Application->getUnitOption($top_prefix.'.main', 'PermSection'); if (!$section) { - trigger_error('Permission section not specified for prefix '.$main_prefix.'', E_USER_ERROR); + trigger_error('Permission section not specified for prefix '.$top_prefix.'', E_USER_ERROR); } return $section; }