Index: branches/5.2.x/core/units/config_search/config_search_event_handler.php =================================================================== diff -u -N -r14628 -r14955 --- branches/5.2.x/core/units/config_search/config_search_event_handler.php (.../config_search_event_handler.php) (revision 14628) +++ branches/5.2.x/core/units/config_search/config_search_event_handler.php (.../config_search_event_handler.php) (revision 14955) @@ -1,6 +1,6 @@ Application->findModule('Name', $module, 'Var'); $section = $this->Application->getUnitOption($main_prefix.'.search', 'PermSection'); $event->setEventParam('PermSection', $section); - + return parent::CheckPermission($event); } @@ -45,7 +45,7 @@ { $object =& $event->getObject(); /* @var $object kDBList */ - + // show only items that belong to selected module $module = $this->Application->GetVar('module'); $object->addFilter('module_filter', '%1$s.ModuleName = '.$this->Conn->qstr($module)); @@ -55,11 +55,13 @@ } /** - * Enter description here... + * Updates kDBItem * * @param kEvent $event + * @return void + * @access protected */ - function OnUpdate(&$event) + protected function OnUpdate(kEvent &$event) { if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { $event->status = kEvent::erFAIL; @@ -90,7 +92,7 @@ function OnCancel(&$event) { parent::OnCancel($event); - + $event->SetRedirectParam('opener', 's'); }