Index: branches/5.2.x/core/units/custom_fields/custom_fields_event_handler.php =================================================================== diff -u -N -r14989 -r15065 --- branches/5.2.x/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 14989) +++ branches/5.2.x/core/units/custom_fields/custom_fields_event_handler.php (.../custom_fields_event_handler.php) (revision 15065) @@ -1,6 +1,6 @@ getObject(); /* @var $object kDBItem */ - $main_prefix = $this->getPrefixByItemType( $object->GetDBField('Type') ); + $main_prefix = $this->getPrefixByItemType($object->GetDBField('Type')); $ml_helper =& $this->Application->recallObject('kMultiLanguageHelper'); /* @var $ml_helper kMultiLanguageHelper */ @@ -222,7 +225,7 @@ * @return void * @access protected */ - protected function OnMassDelete(&$event) + protected function OnMassDelete(kEvent &$event) { parent::OnMassDelete($event); @@ -238,7 +241,7 @@ * @return void * @access protected */ - protected function OnPreCreate(&$event) + protected function OnPreCreate(kEvent &$event) { parent::OnPreCreate($event); @@ -255,7 +258,7 @@ * @return void * @access protected */ - protected function OnAfterItemLoad(&$event) + protected function OnAfterItemLoad(kEvent &$event) { parent::OnAfterItemLoad($event); @@ -308,7 +311,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(&$event) + protected function OnBeforeItemUpdate(kEvent &$event) { parent::OnBeforeItemUpdate($event);