Try removing some more passing by reference
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 18 May 2018 09:18:16 +0000 (19:18 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 18 May 2018 09:18:16 +0000 (19:18 +1000)
CRM/Utils/Mail.php

index d70c4ffc3f954d8a5a401a5107d76827e58156fd..b9bcf3ba95b61ff5048628ead3b93fdb33e9e1fd 100644 (file)
@@ -263,7 +263,7 @@ class CRM_Utils_Mail {
     }
 
     $message = self::setMimeParams($msg);
-    $headers = &$msg->headers($headers);
+    $headers = $msg->headers($headers);
 
     $to = array($params['toEmail']);
     $result = NULL;