summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-25 15:16:27 +0100
committerByron Jones <bjones@mozilla.com>2013-03-25 15:16:27 +0100
commitba88aea7c2824dc612add370e836a1fedd5740d4 (patch)
tree1850e2e8831a8caf82ce5b63688728088066b347 /Bugzilla
parent9adb2c722a30919e530d13d406d4727351255f40 (diff)
downloadbugzilla-ba88aea7c2824dc612add370e836a1fedd5740d4.tar.gz
bugzilla-ba88aea7c2824dc612add370e836a1fedd5740d4.tar.xz
Bug 848583: Use of uninitialized value in subroutine entry at /data/www/bugzilla.mozilla.org/Bugzilla/BugMail.pm line 408.
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/BugMail.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index ea79947b8..fe611d55d 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -114,12 +114,15 @@ sub Send {
}
if ($params->{dep_only}) {
+ my $fields = Bugzilla->fields({ by_name => 1 });
push(@diffs, { field_name => 'bug_status',
+ field_desc => $fields->{bug_status}->description,
old => $params->{changes}->{bug_status}->[0],
new => $params->{changes}->{bug_status}->[1],
login_name => $changer->login,
blocker => $params->{blocker} },
{ field_name => 'resolution',
+ field_desc => $fields->{resolution}->description,
old => $params->{changes}->{resolution}->[0],
new => $params->{changes}->{resolution}->[1],
login_name => $changer->login,