summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-11-05 07:10:22 +0100
committerByron Jones <glob@mozilla.com>2014-11-05 07:10:22 +0100
commit5bf2d7587ebfa69c8dadeedc7bc9ce7c7dfd651b (patch)
tree17ba62bbc75a7cd07f12e15f25421ffe80d60714 /extensions/BMO
parentede3ced0fa2b76a5fcf8770eee29a2e23d5189a9 (diff)
downloadbugzilla-5bf2d7587ebfa69c8dadeedc7bc9ce7c7dfd651b.tar.gz
bugzilla-5bf2d7587ebfa69c8dadeedc7bc9ce7c7dfd651b.tar.xz
Bug 1094026: "Your Overdue Requests" (nagging) emails are stuck in the email queue: utf8 "\x82" does not map to Unicode at /usr/lib64/perl5/Encode.pm line 174
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 9e900a381..94796ec72 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -1127,7 +1127,7 @@ sub _inject_headers_into_body {
# as_string() doesn't return the updated body for multi-part sub-parts.
$email->parts_set([ $email->subparts ]);
}
- else {
+ elsif ($email->content_type =~ /^text\/(?:html|plain)/) {
# text-only email
_replace_placeholder_in_part($email, $replacement);
}