Removed accidentally committed code.
authorMattias Michaux <mattias.michaux@gmail.com>
Mon, 2 Nov 2015 14:37:01 +0000 (15:37 +0100)
committerMattias Michaux <mattias.michaux@gmail.com>
Mon, 2 Nov 2015 14:37:01 +0000 (15:37 +0100)
CRM/Utils/Mail.php

index 6f096eafbce6599a464b6fee2873257f3d7e4567..b7ea6dff01a77814d069bc93038028b195305967 100644 (file)
@@ -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;