Index: branches/5.3.x/core/units/config_search/config_search_event_handler.php =================================================================== diff -u -r15483 -r15698 --- branches/5.3.x/core/units/config_search/config_search_event_handler.php (.../config_search_event_handler.php) (revision 15483) +++ branches/5.3.x/core/units/config_search/config_search_event_handler.php (.../config_search_event_handler.php) (revision 15698) @@ -1,6 +1,6 @@ Application->GetVar('module'); $main_prefix = $this->Application->findModule('Name', $module, 'Var'); - $section = $this->Application->getUnitOption($main_prefix.'.search', 'PermSection'); + + $section = $this->Application->getUnitConfig($main_prefix)->getPermSectionByName('search'); $event->setEventParam('PermSection', $section); return parent::CheckPermission($event);