]> git.mxchange.org Git - friendica.git/commitdiff
The days are getting shorter, like the list of removed notices ...
authorMichael <heluecht@pirati.ca>
Sun, 2 Sep 2018 07:47:48 +0000 (07:47 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 2 Sep 2018 07:47:48 +0000 (07:47 +0000)
src/Util/Emailer.php

index 4fa5e290576df8c384377a9cb55d66c52f5f2a7e..1dd513c42fe3f1c10b19b390508ff60edec95858 100644 (file)
@@ -49,7 +49,7 @@ class Emailer
                                .rand(10000, 99999);
 
                // generate a multipart/alternative message header
-               $messageHeader = $params['additionalMailHeader'] .
+               $messageHeader = defaults($params, 'additionalMailHeader', '') .
                                                "From: $fromName <{$params['fromEmail']}>\n" .
                                                "Reply-To: $fromName <{$params['replyTo']}>\n" .
                                                "MIME-Version: 1.0\n" .