X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPayment%2FPaymentExpressIPN.php;h=207bc59a9b9c7ecc1a14727449d73155ba10f145;hb=6fe7706e511e4237f1c7cafd82524d5e72377c3f;hp=81d2e5ff381f1d453001878f55539bf2b12aba58;hpb=7c295e89bcf11360f18c042a1d21338e7e4f09b4;p=civicrm-core.git diff --git a/CRM/Core/Payment/PaymentExpressIPN.php b/CRM/Core/Payment/PaymentExpressIPN.php index 81d2e5ff38..207bc59a9b 100644 --- a/CRM/Core/Payment/PaymentExpressIPN.php +++ b/CRM/Core/Payment/PaymentExpressIPN.php @@ -307,8 +307,8 @@ class CRM_Core_Payment_PaymentExpressIPN extends CRM_Core_Payment_BaseIPN { if ($response = curl_exec($curl)) { $info = curl_getinfo($curl); if ($info['http_code'] < 200 || $info['http_code'] > 299) { - $log_message = "DPS error: HTTP %1 retrieving %2."; - CRM_Core_Error::fatal(ts($log_message, [1 => $info['http_code'], 2 => $info['url']])); + $log_message = "DPS error: HTTP {$info['http_code']} retrieving {$info['url']}."; + CRM_Core_Error::fatal($log_message); } else { fwrite($message_log, sprintf("\n\r%s:- %s\n", date("D M j G:i:s T Y"), $response));