Index: branches/5.2.x/units/order_items/order_items_event_handler.php =================================================================== diff -u -N -r15134 -r15141 --- branches/5.2.x/units/order_items/order_items_event_handler.php (.../order_items_event_handler.php) (revision 15134) +++ branches/5.2.x/units/order_items/order_items_event_handler.php (.../order_items_event_handler.php) (revision 15141) @@ -1,6 +1,6 @@ Application->recallObject('p.-item', null, array('skip_autoload' => true)); + $product_object = $this->Application->recallObject('p.-item', null, array('skip_autoload' => true)); /* @var $product_object ProductsItem */ foreach ($product_ids as $product_id) { @@ -72,7 +72,7 @@ $this->Application->EventManager->openerStackPush('in-commerce/orders/order_product_edit', $url_params); } else { - $orders_h =& $this->Application->recallObject('ord_EventHandler'); + $orders_h = $this->Application->recallObject('ord_EventHandler'); /* @var $orders_h OrdersEventHandler */ // 1 for PacakgeNum - temporary solution to overcome splitting into separate sub-orders @@ -106,7 +106,7 @@ $table_info = $object->getLinkedInfo(); - $main_object =& $this->Application->recallObject($table_info['ParentPrefix']); + $main_object = $this->Application->recallObject($table_info['ParentPrefix']); /* @var $main_object OrdersItem */ foreach ($items_info as $id => $field_values) { @@ -176,7 +176,7 @@ if ( $changed_fields ) { $table_info = $object->getLinkedInfo(); - $main_object =& $this->Application->recallObject($table_info['ParentPrefix']); + $main_object = $this->Application->recallObject($table_info['ParentPrefix']); /* @var $main_object OrdersItem */ $oi_string = $object->GetDBField('ProductId') . ':' . $object->GetDBField('OptionsSalt') . ':' . $object->GetDBField('BackOrderFlag'); @@ -358,7 +358,7 @@ return true; } - $order =& $this->Application->recallObject('ord'); + $order = $this->Application->recallObject('ord'); /* @var $order kDBItem */ if ( $order->isLoaded() && ($order->GetID() == $object->GetDBField('OrderId')) ) {