Commit 7c08d7c8 authored by Alex Arnaud's avatar Alex Arnaud Committed by Chris Cormack

Bug #6130 - Letters: Fixing Subject encoding

Signed-off-by: default avatarStéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: default avatarChris Cormack <chrisc@catalyst.net.nz>
parent 074bcc19
......@@ -816,7 +816,9 @@ sub _send_message_by_email ($;$$$) {
}
}
my $content = encode('utf8', $message->{'content'});
my $utf8 = decode('MIME-Header', $message->{'subject'} );
$message->{subject}= encode('MIME-Header', $utf8);
my $content = encode('utf8', $message->{'content'});
my %sendmail_params = (
To => $to_address,
From => $message->{'from_address'} || C4::Context->preference('KohaAdminEmailAddress'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment