Index: branches/5.2.x/units/orders/order_manager.php =================================================================== diff -u -N -r14641 -r15141 --- branches/5.2.x/units/orders/order_manager.php (.../order_manager.php) (revision 14641) +++ branches/5.2.x/units/orders/order_manager.php (.../order_manager.php) (revision 15141) @@ -1,6 +1,6 @@ calculator =& $this->Application->makeClass('OrderCalculator'); + $this->calculator = $this->Application->makeClass('OrderCalculator'); $this->calculator->setManager($this); $this->reset(); @@ -218,7 +218,7 @@ { $ret = false; - $order_item =& $this->Application->recallObject('orditems.-item', null, Array('skip_autoload' => true)); + $order_item = $this->Application->recallObject('orditems.-item', null, Array('skip_autoload' => true)); /* @var $order_item kDBItem */ foreach ($this->operations as $operation) { @@ -376,7 +376,7 @@ */ protected function getProductField($product_id, $field) { - $product =& $this->Application->recallObject('p', null, Array ('skip_autoload' => true)); + $product = $this->Application->recallObject('p', null, Array ('skip_autoload' => true)); /* @var $product kCatDBItem */ if ( !$product->isLoaded() || ($product->GetID() != $product_id) ) {