Index: branches/5.2.x/core/units/custom_fields/custom_fields_event_handler.php =================================================================== diff -u -N -r15065 -r15130 --- branches/5.2.x/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 15065) +++ branches/5.2.x/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 15130) @@ -1,6 +1,6 @@ getEventParam('SourcePrefix'); if (!$prefix) { @@ -102,7 +102,7 @@ * @return Array * @access protected */ - protected function _getHiddenFields(&$event) + protected function _getHiddenFields($event) { $prefix = $this->_getSourcePrefix($event); @@ -130,7 +130,7 @@ * @return void * @access protected */ - protected function OnBeforeItemCreate(kEvent &$event) + protected function OnBeforeItemCreate(kEvent $event) { parent::OnBeforeItemCreate($event); @@ -156,7 +156,7 @@ * @return void * @access protected */ - protected function OnAfterItemDelete(kEvent &$event) + protected function OnAfterItemDelete(kEvent $event) { parent::OnAfterItemDelete($event); @@ -196,7 +196,7 @@ * @return void * @access protected */ - protected function OnSaveCustomField(&$event) + protected function OnSaveCustomField($event) { if ( $event->MasterEvent->status != kEvent::erSUCCESS ) { return ; @@ -225,7 +225,7 @@ * @return void * @access protected */ - protected function OnMassDelete(kEvent &$event) + protected function OnMassDelete(kEvent $event) { parent::OnMassDelete($event); @@ -241,7 +241,7 @@ * @return void * @access protected */ - protected function OnPreCreate(kEvent &$event) + protected function OnPreCreate(kEvent $event) { parent::OnPreCreate($event); @@ -258,7 +258,7 @@ * @return void * @access protected */ - protected function OnAfterItemLoad(kEvent &$event) + protected function OnAfterItemLoad(kEvent $event) { parent::OnAfterItemLoad($event); @@ -311,7 +311,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event);