]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bugzilla shouldn't display empty header in the New: email notifications (bug 85734)
authorjake%acutex.net <>
Thu, 14 Jun 2001 21:16:27 +0000 (21:16 +0000)
committerjake%acutex.net <>
Thu, 14 Jun 2001 21:16:27 +0000 (21:16 +0000)
r=timeless

processmail

index 16f91175295a99e3345dcd93a4b130b5a03e9c00..de0f4c7fe183f74f1130189a7fa26ed05b222e7a 100755 (executable)
@@ -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};