diff options
author | Byron Jones <bjones@mozilla.com> | 2012-06-14 19:33:54 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-06-14 19:33:54 +0200 |
commit | 5a403a3cfe5b02a34d7608cd301742420c8a6605 (patch) | |
tree | 32777caed1b5396ec69a027e794257c1a8129fd1 | |
parent | a38f6fe419a2d8cfd679b85f65c67a0cf67b4565 (diff) | |
download | bugzilla-5a403a3cfe5b02a34d7608cd301742420c8a6605.tar.gz bugzilla-5a403a3cfe5b02a34d7608cd301742420c8a6605.tar.xz |
Bug 764892: Fix SecureMail not replacing multipart email when public key is missing
-rw-r--r-- | extensions/SecureMail/Extension.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |