diff options
author | Byron Jones <glob@mozilla.com> | 2014-11-07 07:11:49 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-11-07 07:11:49 +0100 |
commit | 613e77099b334526dd0d4e73383231e8332f3816 (patch) | |
tree | 794c8c7c9f4171289661abf5b599bca5d8b847dd /extensions/BMO | |
parent | 27ca752688b360f51ddec9761b006f1a3592c2b4 (diff) | |
download | bugzilla-613e77099b334526dd0d4e73383231e8332f3816.tar.gz bugzilla-613e77099b334526dd0d4e73383231e8332f3816.tar.xz |
Bug 1094902: needinfo canceled or requested email end with @@body-headers@@
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/Extension.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index 94796ec72..1e24141b4 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -1127,7 +1127,9 @@ sub _inject_headers_into_body { # as_string() doesn't return the updated body for multi-part sub-parts. $email->parts_set([ $email->subparts ]); } - elsif ($email->content_type =~ /^text\/(?:html|plain)/) { + elsif (!$email->content_type + || $email->content_type =~ /^text\/(?:html|plain)/) + { # text-only email _replace_placeholder_in_part($email, $replacement); } |