Index: branches/5.2.x/core/units/visits/visits_event_handler.php =================================================================== diff -u -N -r14989 -r15130 --- branches/5.2.x/core/units/visits/visits_event_handler.php (.../visits_event_handler.php) (revision 14989) +++ branches/5.2.x/core/units/visits/visits_event_handler.php (.../visits_event_handler.php) (revision 15130) @@ -1,6 +1,6 @@ Application->isAdmin || !$this->Application->ConfigValue('UseVisitorTracking') || $this->Application->RecallVar('visit_id') ) { // admin logins are not registered in visits list @@ -71,7 +71,7 @@ * @access protected * @see kDBEventHandler::OnListBuild() */ - protected function SetCustomQuery(kEvent &$event) + protected function SetCustomQuery(kEvent $event) { parent::SetCustomQuery($event); @@ -107,7 +107,7 @@ * @return void * @access protected */ - protected function prepareObject(&$object, kEvent &$event) + protected function prepareObject(&$object, kEvent $event) { $types = $event->getEventParam('types'); @@ -129,7 +129,7 @@ * * @param kEvent $event */ - function OnUserLogin(&$event) + function OnUserLogin($event) { if ($event->MasterEvent->status == kEvent::erSUCCESS) { $user_id = $this->Application->RecallVar('user_id');