diff options
author | mkanat%bugzilla.org <> | 2007-11-26 05:02:25 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-11-26 05:02:25 +0100 |
commit | b8b5fb03bd8a552b993f85764868dab35bdd3267 (patch) | |
tree | 55eac83f6eb23c7fab7fcb70394b43c4feac5680 | |
parent | 5c2713ecfe18ee9a5cad6ee677fb8bdfe4472faa (diff) | |
download | bugzilla-b8b5fb03bd8a552b993f85764868dab35bdd3267.tar.gz bugzilla-b8b5fb03bd8a552b993f85764868dab35bdd3267.tar.xz |
Bug 405350: Email is broken on tip, "can't send mail from '1' to '1'"
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
-rw-r--r-- | Bugzilla/Mailer.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index 48f40d8b7..9c61d54b4 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -68,7 +68,7 @@ sub MessageToMTA { foreach my $header qw(From To Cc Reply-To Sender Errors-To Subject) { if (my $value = $email->header($header)) { if (Bugzilla->params->{'utf8'} && !utf8::is_utf8($value)) { - $value = utf8::decode($value); + utf8::decode($value); } my $encoded = encode('MIME-Q', $value); $email->header_set($header, $encoded); |