X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2FEmailer.php;h=d0568f600128a4f447fbaf4f2561865f613292bd;hb=c0e87b2beac1f326f97eac6e7f97f95e12498405;hp=7aae57346e0bb08626eab9abab7257f9fab102d7;hpb=87f9258834e04102ee4a8668ef83581d8042537b;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" .