SA: suppress undefined variable warnings
This commit is contained in:
parent
21ce00cc90
commit
e959e408b1
@ -392,7 +392,7 @@ sub reject {
|
|||||||
|
|
||||||
my $ham_or_spam = $sa_results->{is_spam} eq 'Yes' ? 'Spam' : 'Ham';
|
my $ham_or_spam = $sa_results->{is_spam} eq 'Yes' ? 'Spam' : 'Ham';
|
||||||
my $status = "$ham_or_spam, $score";
|
my $status = "$ham_or_spam, $score";
|
||||||
my $learn;
|
my $learn = '';
|
||||||
if ( $sa_results->{autolearn} ) {
|
if ( $sa_results->{autolearn} ) {
|
||||||
$learn = "learn=". $sa_results->{autolearn};
|
$learn = "learn=". $sa_results->{autolearn};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user