summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-08-28 08:29:40 +0200
committerByron Jones <bjones@mozilla.com>2012-08-28 08:29:40 +0200
commit2def70a01bd470f46fa8b83a71e1ec59b7089093 (patch)
tree584b9f35e8b23d99a7e7470766082746dedc8f05 /Bugzilla
parent07ce1e486b11e2ef29783a40312677f3db98c143 (diff)
downloadbugzilla-2def70a01bd470f46fa8b83a71e1ec59b7089093.tar.gz
bugzilla-2def70a01bd470f46fa8b83a71e1ec59b7089093.tar.xz
Bug 786167: fix various "use of uninitialized value" warnings
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/BugMail.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 069ebbe60..521291380 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -566,7 +566,9 @@ sub _get_new_bugmail_fields {
# If there isn't anything to show, don't include this header.
next unless $value;
- push(@diffs, {field_name => $name, new => $value});
+ push(@diffs, {field_name => $name,
+ field_desc => $field->description,
+ new => $value});
}
return @diffs;