Index: trunk/core/kernel/utility/event.php
===================================================================
diff -u -N -r4653 -r4670
--- trunk/core/kernel/utility/event.php (.../event.php) (revision 4653)
+++ trunk/core/kernel/utility/event.php (.../event.php) (revision 4670)
@@ -288,7 +288,7 @@
}
$main_prefix = $this->Application->GetTopmostPrefix($this->Prefix);
- $section = $this->Application->getUnitOption($main_prefix, 'PermSection');
+ $section = $this->Application->getUnitOption($main_prefix.'.main', 'PermSection');
if (!$section) {
trigger_error('Permission section not specified for prefix '.$main_prefix.'', E_USER_ERROR);