Index: branches/5.2.x/units/helpers/order_helper.php =================================================================== diff -u -N -r14839 -r15141 --- branches/5.2.x/units/helpers/order_helper.php (.../order_helper.php) (revision 14839) +++ branches/5.2.x/units/helpers/order_helper.php (.../order_helper.php) (revision 15141) @@ -29,7 +29,7 @@ 'errors' => $errors ? unserialize($errors) : Array (), ); - $items =& $this->Application->recallObject('orditems', 'orditems_List', Array ('per_page' => -1)); + $items = $this->Application->recallObject('orditems', 'orditems_List', Array ('per_page' => -1)); /* @var $items kDBList */ $items->Query(); @@ -41,7 +41,7 @@ return $ret; } - $product =& $this->Application->recallObject('p', null, Array ('skip_autoload' => true)); + $product = $this->Application->recallObject('p', null, Array ('skip_autoload' => true)); /* @var $product kCatDBItem */ $sql = $product->GetSelectSQL() . ' @@ -71,7 +71,7 @@ $row_index = $items->GetDBField('ProductId') . ':' . $items->GetDBField('OptionsSalt') . ':' . $items->GetDBField('BackOrderFlag'); - $image_helper =& $this->Application->recallObject('ImageHelper'); + $image_helper = $this->Application->recallObject('ImageHelper'); /* @var $image_helper ImageHelper */ // TODO: find a way to specify thumbnail size & default image @@ -109,7 +109,7 @@ function convertCurrency($amount, $currency) { - $converter =& $this->Application->recallObject('CurrencyRates'); + $converter = $this->Application->recallObject('CurrencyRates'); /* @var $converter CurrencyRates */ // convert primary currency to selected (if they are the same, converter will just return)