Index: branches/5.2.x/units/orders/orders_item.php =================================================================== diff -u -N -r15134 -r15141 --- branches/5.2.x/units/orders/orders_item.php (.../orders_item.php) (revision 15134) +++ branches/5.2.x/units/orders/orders_item.php (.../orders_item.php) (revision 15141) @@ -1,6 +1,6 @@ Application->recallObject('CountryStatesHelper'); + $cs_helper = $this->Application->recallObject('CountryStatesHelper'); /* @var $cs_helper kCountryStatesHelper */ $shipping_country_id = $cs_helper->getCountryStateId($this->GetDBField('ShippingCountry'), DESTINATION_TYPE_COUNTRY); @@ -286,7 +286,7 @@ return; } - $gc =& $this->Application->recallObject('gc', null, Array('skip_autoload' => true)); + $gc = $this->Application->recallObject('gc', null, Array('skip_autoload' => true)); /* @var $gc kDBItem */ $gc->Load($gc_id); @@ -327,7 +327,7 @@ { $gc_id = $this->GetDBField('GiftCertificateId'); - $gc =& $this->Application->recallObject('gc', null, Array('skip_autoload' => true)); + $gc = $this->Application->recallObject('gc', null, Array('skip_autoload' => true)); /* @var $gc kDBItem */ $gc->Load($gc_id);