Index: branches/5.2.x/core/units/translator/translator_event_handler.php =================================================================== diff -u -N -r15065 -r15130 --- branches/5.2.x/core/units/translator/translator_event_handler.php (.../translator_event_handler.php) (revision 15065) +++ branches/5.2.x/core/units/translator/translator_event_handler.php (.../translator_event_handler.php) (revision 15130) @@ -1,6 +1,6 @@ getPrefixAndField($event); @@ -58,7 +58,7 @@ * * @param kEvent $event */ - function getPrefixAndField(&$event) + function getPrefixAndField($event) { $field = $this->Application->GetVar($event->getPrefixSpecial(true).'_field'); @@ -78,7 +78,7 @@ * @return void * @access protected */ - protected function OnLoad(&$event) + protected function OnLoad($event) { list($obj_prefix, $field) = $this->getPrefixAndField($event); @@ -122,7 +122,7 @@ * @return void * @access protected */ - protected function OnSaveAndClose(&$event) + protected function OnSaveAndClose($event) { $event->CallSubEvent('OnPreSave'); @@ -137,7 +137,7 @@ * @return void * @access protected */ - protected function OnPreSave(kEvent &$event) + protected function OnPreSave(kEvent $event) { $translator =& $event->getObject(); /* @var $translator kDBItem */ @@ -165,7 +165,7 @@ * @return void * @access protected */ - protected function OnChangeLanguage(&$event) + protected function OnChangeLanguage($event) { $event->CallSubEvent('OnPreSave');