Index: branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php =================================================================== diff -u -N -r14258 -r15141 --- branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php (.../sella_guestpay.php) (revision 14258) +++ branches/5.2.x/units/gateways/gw_classes/sella_guestpay.php (.../sella_guestpay.php) (revision 15141) @@ -1,6 +1,6 @@ Application->recallObject('CurlHelper'); + $curl_helper = $this->Application->recallObject('CurlHelper'); /* @var $curl_helper kCurlHelper */ $res = $curl_helper->Send($url); @@ -92,19 +92,19 @@ $b = $_REQUEST['b']; $url = 'https://ecomm.sella.it/CryptHTTPS/Decrypt.asp?a='.$a.'&b='.$b.'&c=2.0'; - $curl_helper =& $this->Application->recallObject('CurlHelper'); + $curl_helper = $this->Application->recallObject('CurlHelper'); /* @var $curl_helper kCurlHelper */ $ret = $curl_helper->Send($url); $result = $this->parseGWResponce($ret); list ($sid, $auth_code) = explode(',', $result['CUSTOM_INFO']); - $session =& $this->Application->recallObject('Session'); + $session = $this->Application->recallObject('Session'); $session->SID = $sid; $order_id = $this->Conn->GetOne('SELECT OrderId FROM '.TABLE_PREFIX.'Orders WHERE md5(OrderId) = '.$this->Conn->qstr($auth_code)); $this->Application->SetVar('ord_id', $order_id); - $order =& $this->Application->recallObject('ord'); + $order = $this->Application->recallObject('ord'); $order->Load($order_id); if ($this->Application->GetVar('sella_ok')) {