]> git.mxchange.org Git - friendica.git/blobdiff - mod/invite.php
Merge pull request #4008 from zeroadam/Oauth-#3878
[friendica.git] / mod / invite.php
index 2571bff927ec4838e1928baea82ca5fc067c93e0..06c0df3b84d5902ede461f243122182da7776d6f 100644 (file)
@@ -75,7 +75,7 @@ function invite_post(App $a) {
                        $nmessage = $message;
                }
 
-               $res = mail($recip, Email::emailHeaderEncode(t('Please join us on Friendica'),'UTF-8'),
+               $res = mail($recip, Email::encodeHeader(t('Please join us on Friendica'),'UTF-8'),
                        $nmessage,
                        "From: " . $a->user['email'] . "\n"
                        . 'Content-type: text/plain; charset=UTF-8' . "\n"