Commit 13b1b21d authored by jake%acutex.net's avatar jake%acutex.net

Bugzilla shouldn't display empty header in the New: email notifications (bug 85734)

r=timeless
parent 87b2b80d
...@@ -648,8 +648,8 @@ sub NewProcessOnePerson ($$$$$$$$$$) { ...@@ -648,8 +648,8 @@ sub NewProcessOnePerson ($$$$$$$$$$) {
foreach my $f (@headerlist) { foreach my $f (@headerlist) {
if ($mailhead{$f}) { if ($mailhead{$f}) {
my $value = $values{$f}; my $value = $values{$f};
if (!defined $value) { # If there isn't anything to show, don't include this header
# Probaby ought to whine or something. ### if (! $value) {
next; next;
} }
my $desc = $fielddescription{$f}; my $desc = $fielddescription{$f};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment