Index: branches/5.2.x/units/discount_items/discount_items_event_handler.php =================================================================== diff -u -N -r15061 -r15134 --- branches/5.2.x/units/discount_items/discount_items_event_handler.php (.../discount_items_event_handler.php) (revision 15061) +++ branches/5.2.x/units/discount_items/discount_items_event_handler.php (.../discount_items_event_handler.php) (revision 15134) @@ -1,6 +1,6 @@ getObject( Array('skip_autoload' => true) ); $selected_ids = $this->Application->GetVar('selected_ids'); @@ -102,7 +102,7 @@ * @todo get parent item id through $object->getLinkedInfo()['ParentId'] * @access public */ - function OnEntireOrder(&$event) + function OnEntireOrder($event) { $object =& $event->GetObject(); $sql = 'DELETE FROM '.$object->TableName.' WHERE DiscountId='.$this->Application->GetVar('d_id'); @@ -129,7 +129,7 @@ * * @param kEvent $event */ - function OnDeleteDiscountedItem(&$event) + function OnDeleteDiscountedItem($event) { $main_object =& $event->MasterEvent->getObject(); $resource_id = $main_object->GetDBField('ResourceId'); @@ -146,7 +146,7 @@ * @return void * @access protected */ - protected function OnAfterConfigRead(kEvent &$event) + protected function OnAfterConfigRead(kEvent $event) { parent::OnAfterConfigRead($event);