Fixing a bug caused by the syncing with the 2.2 branch
This commit is contained in:
parent
70f8682559
commit
0c68d59940
1 changed files with 2 additions and 4 deletions
|
@ -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"; }
|
||||||
|
|
Loading…
Reference in a new issue