X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2FEmailer.php;h=d0568f600128a4f447fbaf4f2561865f613292bd;hb=37fccee503341ce1363e57cc81d465ef224e702d;hp=7aae57346e0bb08626eab9abab7257f9fab102d7;hpb=6e06169565b6b9abf6471b2818c9122b022b9903;p=friendica.git diff --git a/include/Emailer.php b/include/Emailer.php index 7aae57346e..d0568f6001 100644 --- a/include/Emailer.php +++ b/include/Emailer.php @@ -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" .