Index: branches/5.2.x/units/gateways/gw_classes/paypal_direct.php =================================================================== diff -u -N -r14258 -r15141 --- branches/5.2.x/units/gateways/gw_classes/paypal_direct.php (.../paypal_direct.php) (revision 14258) +++ branches/5.2.x/units/gateways/gw_classes/paypal_direct.php (.../paypal_direct.php) (revision 15141) @@ -1,6 +1,6 @@ Application->recallObject('CountryStatesHelper'); + $cs_helper = $this->Application->recallObject('CountryStatesHelper'); /* @var $cs_helper kCountryStatesHelper */ $post_fields['COUNTRYCODE'] = $cs_helper->getCountryIso( $item_data['BillingCountry'] ); @@ -129,7 +129,7 @@ // print_r($post_fields); // exit; - $curl_helper =& $this->Application->recallObject('CurlHelper'); + $curl_helper = $this->Application->recallObject('CurlHelper'); /* @var $curl_helper kCurlHelper */ $curl_helper->SetPostData($post_fields); @@ -175,7 +175,7 @@ if( $this->IsTestMode() ) $post_fields['x_test_request'] = 'True'; - $curl_helper =& $this->Application->recallObject('CurlHelper'); + $curl_helper = $this->Application->recallObject('CurlHelper'); $curl_helper->SetPostData($post_fields); $this->gw_responce = $curl_helper->Send($gw_params['submit_url']);