From 5a403a3cfe5b02a34d7608cd301742420c8a6605 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 15 Jun 2012 01:33:54 +0800 Subject: Bug 764892: Fix SecureMail not replacing multipart email when public key is missing --- extensions/SecureMail/Extension.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extensions') diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm index 1a94fe48c..71eb470a2 100644 --- a/extensions/SecureMail/Extension.pm +++ b/extensions/SecureMail/Extension.pm @@ -400,6 +400,8 @@ sub _make_secure { $vars, \$message) || ThrowTemplateError($template->error()); + $email->parts_set([]); + $email->content_type_set('text/plain'); $email->body_set($message); } -- cgit v1.2.3-24-g4f1b