From ff41cc24bdb341d089b53184d839b9d1dc0111b8 Mon Sep 17 00:00:00 2001 From: Fabrixxm Date: Mon, 9 Feb 2015 11:21:10 +0100 Subject: [PATCH] Emailer: fix text-only email --- include/Emailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" . -- 2.39.5