summaryrefslogtreecommitdiffstats
path: root/processmail
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-06-14 23:16:27 +0200
committerjake%acutex.net <>2001-06-14 23:16:27 +0200
commit13b1b21d8ebced2e9250bfc1a8db39a2a9e62cf1 (patch)
tree619472a065b6c00a618aaa103e7eefbc1ee63460 /processmail
parent87b2b80d808ec802ab744418510650edc98307ec (diff)
downloadbugzilla-13b1b21d8ebced2e9250bfc1a8db39a2a9e62cf1.tar.gz
bugzilla-13b1b21d8ebced2e9250bfc1a8db39a2a9e62cf1.tar.xz
Bugzilla shouldn't display empty header in the New: email notifications (bug 85734)
r=timeless
Diffstat (limited to 'processmail')
-rwxr-xr-xprocessmail4
1 files changed, 2 insertions, 2 deletions
diff --git a/processmail b/processmail
index 16f911752..de0f4c7fe 100755
--- a/processmail
+++ b/processmail
@@ -648,8 +648,8 @@ sub NewProcessOnePerson ($$$$$$$$$$) {
foreach my $f (@headerlist) {
if ($mailhead{$f}) {
my $value = $values{$f};
- if (!defined $value) {
- # Probaby ought to whine or something. ###
+ # If there isn't anything to show, don't include this header
+ if (! $value) {
next;
}
my $desc = $fielddescription{$f};