From: Mattias Michaux Date: Mon, 2 Nov 2015 14:37:01 +0000 (+0100) Subject: Removed accidentally committed code. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f0470676b075a42c9abf4f6f899abeefe002159f;p=civicrm-core.git Removed accidentally committed code. --- diff --git a/CRM/Utils/Mail.php b/CRM/Utils/Mail.php index 6f096eafbc..b7ea6dff01 100644 --- a/CRM/Utils/Mail.php +++ b/CRM/Utils/Mail.php @@ -203,7 +203,7 @@ class CRM_Utils_Mail { $headers['Return-Path'] = CRM_Utils_Array::value('returnPath', $params); // CRM-11295: Omit reply-to headers if empty; this avoids issues with overzealous mailservers - $replyTo = CRM_Utils_Array::value('replyTo', $params, CRM_Utils_Array::value('from', $params)); + $replyTo = CRM_Utils_Array::value('replyTo', $params, $from); if (!empty($replyTo)) { $headers['Reply-To'] = $replyTo;