diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index 5e75dbfdc4..f17bb71657 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -118,7 +118,7 @@ if ( $email_add ) { $email_file = $1; } - if ( $template_res =~ /\n(.*)\n/s ) { $body = $1; } + if ( $template_res =~ /\n(.*)\n/s ) { $body = encode_qp($1); } my $boundary = "====" . time() . "===="; diff --git a/opac/opac-sendshelf.pl b/opac/opac-sendshelf.pl index 340a41c151..dc9d2b0838 100755 --- a/opac/opac-sendshelf.pl +++ b/opac/opac-sendshelf.pl @@ -124,7 +124,7 @@ if ( $email ) { $email_file = $1; } - if ( $template_res =~ /\n(.*)\n/s ) { $body = $1; } + if ( $template_res =~ /\n(.*)\n/s ) { $body = encode_qp($1); } my $boundary = "====" . time() . "====";