Index: branches/5.2.x/units/coupons/coupons_event_handler.php =================================================================== diff -u -N -r15061 -r15134 --- branches/5.2.x/units/coupons/coupons_event_handler.php (.../coupons_event_handler.php) (revision 15061) +++ branches/5.2.x/units/coupons/coupons_event_handler.php (.../coupons_event_handler.php) (revision 15134) @@ -1,6 +1,6 @@ StoreSelectedIDs($event); @@ -71,7 +71,7 @@ * @return void * @access protected */ - protected function OnBeforeClone(kEvent &$event) + protected function OnBeforeClone(kEvent $event) { parent::OnBeforeClone($event); @@ -89,7 +89,7 @@ $object->SetDBField('Expiration_time', $expiration); } - function OnApplyClone(&$event) + function OnApplyClone($event) { if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { $event->status = kEvent::erFAIL; @@ -174,7 +174,7 @@ * @return void * @access protected */ - protected function OnPreCreate(kEvent &$event) + protected function OnPreCreate(kEvent $event) { parent::OnPreCreate($event); @@ -198,7 +198,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event); @@ -212,7 +212,7 @@ * @return void * @access protected */ - protected function OnBeforeItemCreate(kEvent &$event) + protected function OnBeforeItemCreate(kEvent $event) { parent::OnBeforeItemCreate($event); @@ -224,7 +224,7 @@ * * @param kEvent $event */ - function itemChanged(&$event) + function itemChanged($event) { $object =& $event->getObject(); /* @var $object kDBItem */