X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fopac-sendbasket.pl;h=da74745f2e17dbf65370a33660c811b1e57b2fe4;hb=401d9e447930e229d72eae0b6874bb3cd93d0e73;hp=a3a4eb8799e9cd38d87042645c494989f4f7c36b;hpb=9744c24ad8ee9062897bf82940387b001f282bda;p=koha_fer diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index a3a4eb8799..da74745f2e 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -27,7 +27,6 @@ use Carp; use Mail::Sendmail; use MIME::QuotedPrint; use MIME::Base64; -use HTML::FormatText; use C4::Biblio; use C4::Items; use C4::Auth; @@ -135,7 +134,7 @@ if ( $email_add ) { my $email_header = ""; if ( $template_res =~ /
\n(.*)\n?/s ) { - $email_header = $1; + $email_header = encode_qp($1); } my $email_file = "basket.txt"; @@ -144,7 +143,7 @@ if ( $email_add ) { } if ( $template_res =~ /\n(.*)\n?/s ) { - $body = $1; + $body = encode_qp($1); } my $boundary = "====" . time() . "====";