Fixing a bug caused by the syncing with the 2.2 branch
authorrangi <rangi>
Wed, 29 Jun 2005 02:01:03 +0000 (02:01 +0000)
committerrangi <rangi>
Wed, 29 Jun 2005 02:01:03 +0000 (02:01 +0000)
opac/opac-sendbasket.pl

index bb0f466..c0bc03c 100755 (executable)
@@ -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 =~ /<SUBJECT>\n(.*)\n<END_SUBJECT>/s) { $mail{'subject'} = $1; }
        else { $mail{'subject'} = "no subject"; }