From 0911a18e83f9c55128d84043740e2d166c9c01e9 Mon Sep 17 00:00:00 2001 From: David Gustafsson Date: Thu, 4 Mar 2021 17:54:22 +0100 Subject: [PATCH] Bug 123123: Add html support for report mails https://bugs.koha-community.org/show_bug.cgi?id=27884 --- C4/Reports/Guided.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index a76d86ba44..d034ccb1a8 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -1041,6 +1041,7 @@ sub EmailReport { message_transport_type => 'email', }); $letter = $letter->unblessed; + $letter->{'content-type'} = 'text/html; charset="UTF-8"' if $letter->{'is_html'}; my $report = Koha::Reports->find( $report_id ); my $sql = $report->savedsql; -- 2.20.1