From f0470676b075a42c9abf4f6f899abeefe002159f Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Mon, 2 Nov 2015 15:37:01 +0100 Subject: [PATCH] Removed accidentally committed code. --- CRM/Utils/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1