From: jake%acutex.net <> Date: Thu, 14 Jun 2001 21:16:27 +0000 (+0000) Subject: Bugzilla shouldn't display empty header in the New: email notifications (bug 85734) X-Git-Tag: bugzilla-2.14~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13b1b21d8ebced2e9250bfc1a8db39a2a9e62cf1;p=thirdparty%2Fbugzilla.git Bugzilla shouldn't display empty header in the New: email notifications (bug 85734) r=timeless --- diff --git a/processmail b/processmail index 16f9117529..de0f4c7fe1 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};