mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 14:15:56 -06:00
Add subject field to CSV download.
This commit is contained in:
parent
9915eb4174
commit
70eb09ba43
1 changed files with 6 additions and 1 deletions
|
|
@ -4502,6 +4502,9 @@ sub show_download_detail
|
|||
print "$TRANSLATE{'Rule'};";
|
||||
}
|
||||
}
|
||||
if ($CONFIG{SHOW_SUBJECT}) {
|
||||
print "$TRANSLATE{'Subject'};";
|
||||
}
|
||||
print "\n";
|
||||
my $line = 1;
|
||||
foreach my $id (sort { $lstat{$a}{hour} <=> $lstat{$b}{hour} } keys %lstat) {
|
||||
|
|
@ -4604,10 +4607,12 @@ sub show_download_detail
|
|||
} elsif ($type eq 'virus') {
|
||||
print "$lstat{$id}{virus};$lstat{$id}{file};";
|
||||
} else {
|
||||
$lstat{$id}{rule} ||= ' ';
|
||||
print "$lstat{$id}{rule};";
|
||||
}
|
||||
}
|
||||
if ($CONFIG{SHOW_SUBJECT}) {
|
||||
print "$lstat{$id}{subject};";
|
||||
}
|
||||
print "\n";
|
||||
$line++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue