Index: branches/5.2.x/units/gateways/gw_classes/rightconnect.php =================================================================== diff -u -N -r13845 -r14099 --- branches/5.2.x/units/gateways/gw_classes/rightconnect.php (.../rightconnect.php) (revision 13845) +++ branches/5.2.x/units/gateways/gw_classes/rightconnect.php (.../rightconnect.php) (revision 14099) @@ -1,6 +1,6 @@ Application->ConfigValue('Smtp_AdminMailFrom'); - $this->gw_responce = curl_post($gw_params['submit_url'], $post_fields); + $curl_helper =& $this->Application->recallObject('CurlHelper'); + /* @var $curl_helper kCurlHelper */ + + $curl_helper->SetPostData($post_fields); + $this->gw_responce = $curl_helper->Send($gw_params['submit_url']); + $gw_responce = $this->parseGWResponce(null, $gw_params); // gw_error_msg: $gw_response['responce_reason_text'] @@ -208,7 +213,7 @@ unset($gw_responce[$field_index]); } $this->parsed_responce = $ret; - return array_merge_recursive2($ret, $gw_responce); // returns unparsed fields with they original indexes together with parsed ones + return kUtil::array_merge_recursive($ret, $gw_responce); // returns unparsed fields with they original indexes together with parsed ones } function getGWResponce()