From 13b1b21d8ebced2e9250bfc1a8db39a2a9e62cf1 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Thu, 14 Jun 2001 21:16:27 +0000 Subject: Bugzilla shouldn't display empty header in the New: email notifications (bug 85734) r=timeless --- processmail | 4 ++-- 1 file 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}; -- cgit v1.2.1