Index: branches/5.2.x/units/taxesdestinations/taxes_dst_event_handler.php =================================================================== diff -u -N -r15061 -r15134 --- branches/5.2.x/units/taxesdestinations/taxes_dst_event_handler.php (.../taxes_dst_event_handler.php) (revision 15061) +++ branches/5.2.x/units/taxesdestinations/taxes_dst_event_handler.php (.../taxes_dst_event_handler.php) (revision 15134) @@ -1,6 +1,6 @@ getObject(Array ('skip_autoload' => true)); /* @var $object kDBItem */ @@ -71,7 +71,7 @@ * @return void * @access protected */ - protected function OnCreate(kEvent &$event) + protected function OnCreate(kEvent $event) { $object =& $event->getObject(Array ('skip_autoload' => true)); /* @var $object kDBItem */ @@ -105,7 +105,7 @@ * @return void * @access protected */ - protected function customProcessing(kEvent &$event, $type) + protected function customProcessing(kEvent $event, $type) { switch ($type) { case 'before': @@ -133,9 +133,10 @@ * * @param kEvent $event */ - function OnZoneUpdate(&$event) { + function OnZoneUpdate($event) { - $object = &$event->getObject(); + $object =& $event->getObject(); + /* @var $object kDBItem */ $zone_object = &$this->Application->recallObject('tax'); $zone_id = (int)$this->Application->GetVar('tax_id');