From: rangi Date: Wed, 29 Jun 2005 02:01:03 +0000 (+0000) Subject: Fixing a bug caused by the syncing with the 2.2 branch X-Git-Tag: dev_week~1359 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=0c68d59940baf1e7d0893f66649182488e717dfe;p=koha.git Fixing a bug caused by the syncing with the 2.2 branch --- diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index bb0f466a22..c0bc03c06c 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -70,10 +70,8 @@ if ($email_add) { push (@results, $dat); } - $email_header = encode_qp($email_header); - - $boundary = "--" . $boundary; - + # Getting template result + my $template_res = $template2->output(); # Analysing information and getting mail properties if ($template_res =~ /\n(.*)\n/s) { $mail{'subject'} = $1; } else { $mail{'subject'} = "no subject"; }