Index: branches/5.2.x/units/shipping_costs/shipping_costs_event_handler.php =================================================================== diff -u -N -r15134 -r15141 --- branches/5.2.x/units/shipping_costs/shipping_costs_event_handler.php (.../shipping_costs_event_handler.php) (revision 15134) +++ branches/5.2.x/units/shipping_costs/shipping_costs_event_handler.php (.../shipping_costs_event_handler.php) (revision 15141) @@ -1,6 +1,6 @@ getObject(Array ('skip_autoload' => true)); /* @var $object kDBItem */ - $zones_object =& $this->Application->recallObject('z'); + $zones_object = $this->Application->recallObject('z'); $sql = 'SELECT ZoneID FROM ' . $zones_object->TableName . ' @@ -93,7 +93,7 @@ $object =& $event->getObject(); - $shipping_object =& $this->Application->recallObject('s'); + $shipping_object = $this->Application->recallObject('s'); if( $this->Application->GetVar('br_propagate_id') ) { @@ -173,7 +173,7 @@ $object =& $event->getObject(Array ('skip_autoload' => true)); /* @var $object kDBItem */ - $zones_object =& $this->Application->recallObject('z'); + $zones_object = $this->Application->recallObject('z'); /* @var $zones_object kDBItem */ $sql = 'SELECT ZoneID @@ -200,7 +200,7 @@ protected function customProcessing(kEvent $event, $type) { if ( $type == 'before' && $this->Application->GetVar('sc') ) { - $shipping_obj =& $this->Application->recallObject('s'); + $shipping_obj = $this->Application->recallObject('s'); /* @var $shipping_obj kDBItem */ $object =& $event->getObject(); @@ -245,16 +245,16 @@ $id = $event->getEventParam('id'); - $object =& $this->Application->recallObject($event->Prefix . '.-item', $event->Prefix); + $object = $this->Application->recallObject($event->Prefix . '.-item', $event->Prefix); /* @var $object kDBItem */ $object->SwitchToTemp(); $object->Load($id); - $shipping_obj =& $this->Application->recallObject('s'); + $shipping_obj = $this->Application->recallObject('s'); /* @var $shipping_obj kDBItem */ - $lang_object =& $this->Application->recallObject('lang.current'); + $lang_object = $this->Application->recallObject('lang.current'); /* @var $lang_object LanguagesItem */ // by weight and US/UK system - we need to store recalculated price per Kg cause shipping calculation is done per Kg! @@ -278,16 +278,16 @@ $id = $event->getEventParam('id'); - $object =& $this->Application->recallObject($event->Prefix . '.-item', $event->Prefix); + $object = $this->Application->recallObject($event->Prefix . '.-item', $event->Prefix); /* @var $object kDBItem */ $object->SwitchToTemp(); $object->Load($id); - $shipping_obj =& $this->Application->recallObject('s'); + $shipping_obj = $this->Application->recallObject('s'); /* @var $shipping_obj kDBItem */ - $lang_object =& $this->Application->recallObject('lang.current'); + $lang_object = $this->Application->recallObject('lang.current'); /* @var $lang_object LanguagesItem */ // by weight and US/UK system - we need to store recalculated price per Kg cause shipping calculation is done per Kg!