Index: branches/5.2.x/core/units/modules/modules_event_handler.php =================================================================== diff -u -N -r14989 -r15065 --- branches/5.2.x/core/units/modules/modules_event_handler.php (.../modules_event_handler.php) (revision 14989) +++ branches/5.2.x/core/units/modules/modules_event_handler.php (.../modules_event_handler.php) (revision 15065) @@ -1,6 +1,6 @@ status = kEvent::erSUCCESS; - $event->setRedirectParams(Array ('opener' => 's'), true); + $event->SetRedirectParam('opener', 's'); $this->Application->DeleteUnitCache(); $this->Application->DeleteSectionCache(); @@ -140,8 +140,10 @@ * Occurs after list is queried * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterListQuery(&$event) + protected function OnAfterListQuery(kEvent &$event) { parent::OnAfterListQuery($event); @@ -150,8 +152,8 @@ $new_modules = $modules_helper->getModules(kModulesHelper::NOT_INSTALLED); - if (!$new_modules || $this->Application->RecallVar('user_id') != USER_ROOT) { - return ; + if ( !$new_modules || $this->Application->RecallVar('user_id') != USER_ROOT ) { + return; } require_once FULL_PATH . '/core/install/install_toolkit.php';