Index: branches/5.2.x/units/listing_types/listing_types_event_handler.php =================================================================== diff -u -N -r15062 -r15135 --- branches/5.2.x/units/listing_types/listing_types_event_handler.php (.../listing_types_event_handler.php) (revision 15062) +++ branches/5.2.x/units/listing_types/listing_types_event_handler.php (.../listing_types_event_handler.php) (revision 15135) @@ -1,6 +1,6 @@ getObject(); $selected_ids = $this->Application->GetVar('selected_ids'); @@ -52,7 +52,7 @@ } - function OnPreSaveListingType(&$event) + function OnPreSaveListingType($event) { $event->redirect = false; $object =& $event->getObject( Array('skip_autoload' => true) ); @@ -69,7 +69,7 @@ * @return void * @access protected */ - protected function OnEdit(kEvent &$event) + protected function OnEdit(kEvent $event) { if ( $this->Application->prefixRegistred('p') ) { $this->Application->recallObject('p', null, Array ('skip_autoload' => true)); @@ -85,7 +85,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event);