From 85e074c70f8deea91ff2afcb5b712734c59dcb55 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 12 Oct 2006 04:56:21 +0000 Subject: [PATCH] Fields no longer exist... --- mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail.php b/mail.php index 6bb11fb..1d47981 100644 --- a/mail.php +++ b/mail.php @@ -279,7 +279,7 @@ class Mail $this->headers .= "MIME-Version: 1.0" . $this->delim; // see if we need to use mime/multipart - if ($sendhtml AND $this->fields['bodyhtml'][2] == true) + if ($sendhtml AND !empty($this->bodyhtml) == true) { $boundary = 'ISSO-MULTIPART-' . $this->registry->modules['functions']->rand(10); $this->headers .= "Content-Type: multipart/alternative; boundary=\"$boundary\"" . $this->delim; -- 2.22.5