]> git.mxchange.org Git - friendica.git/commitdiff
Emailer: fix text-only email
authorFabrixxm <fabrix.xm@gmail.com>
Mon, 9 Feb 2015 10:21:10 +0000 (11:21 +0100)
committerFabrixxm <fabrix.xm@gmail.com>
Mon, 9 Feb 2015 10:21:10 +0000 (11:21 +0100)
include/Emailer.php

index 7aae57346e0bb08626eab9abab7257f9fab102d7..d0568f600128a4f447fbaf4f2561865f613292bd 100644 (file)
@@ -51,7 +51,7 @@ class Emailer {
                        "Content-Transfer-Encoding: base64\n\n" .
                        $textBody . "\n";
 
-               if (!$email_textonly && !is_null($htmlBody)){
+               if (!$email_textonly && !is_null($params['htmlVersion'])){
                        $multipartMessageBody .=
                                "--" . $mimeBoundary . "\n" .                           // text/html section
                                "Content-Type: text/html; charset=UTF-8\n" .