Fixing a bug caused by the syncing with the 2.2 branch

This commit is contained in:
rangi 2005-06-29 02:01:03 +00:00
parent 70f8682559
commit 0c68d59940

View file

@ -70,10 +70,8 @@ if ($email_add) {
push (@results, $dat); push (@results, $dat);
} }
$email_header = encode_qp($email_header); # Getting template result
my $template_res = $template2->output();
$boundary = "--" . $boundary;
# Analysing information and getting mail properties # Analysing information and getting mail properties
if ($template_res =~ /<SUBJECT>\n(.*)\n<END_SUBJECT>/s) { $mail{'subject'} = $1; } if ($template_res =~ /<SUBJECT>\n(.*)\n<END_SUBJECT>/s) { $mail{'subject'} = $1; }
else { $mail{'subject'} = "no subject"; } else { $mail{'subject'} = "no subject"; }