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