mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 14:15:56 -06:00
Fix on possible use of an undefined value as an ARRAY reference. Thanks to Paul Brown for the report.
This commit is contained in:
parent
76fac1a494
commit
cac568f122
1 changed files with 1 additions and 1 deletions
|
|
@ -2632,7 +2632,7 @@ sub flush_data
|
|||
}
|
||||
}
|
||||
# Complete Spam information
|
||||
if (exists $SPAM{$host}{$id} && !exists $SPAM{$host}{$id}{to}) {
|
||||
if (exists $SPAM{$host}{$id} && !exists $SPAM{$host}{$id}{to} && exists $TO{$host}{$id}{to}) {
|
||||
push(@{$SPAM{$host}{$id}{to}}, @{$TO{$host}{$id}{to}});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue