From 246bdedab6e0208ec41465dec84f58ab333df71a Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Wed, 3 Nov 1999 08:44:29 +0000 Subject: Whoops! Was reporting ASSIGNED bugs as being closed. Also, changed it to report the resolution of the bug instead of the word "closed". Many thanks to dbaron@fas.harvard.edu for suggesting this change, and reporting the bug. --- processmail | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'processmail') diff --git a/processmail b/processmail index 6d35c6c7a..eedfb0339 100755 --- a/processmail +++ b/processmail @@ -125,12 +125,14 @@ sub DescDependencies { my @verbose; my $count = 0; foreach my $i (@list) { - SendSQL("select bug_status from bugs where bug_id = $i"); - my ($bug_status) = (FetchSQLData()); - my $desc = "[Closed]"; - if ($bug_status eq "OPEN" || $bug_status eq "NEW" || + SendSQL("select bug_status, resolution from bugs where bug_id = $i"); + my ($bug_status, $resolution) = (FetchSQLData()); + my $desc; + if ($bug_status eq "NEW" || $bug_status eq "ASSIGNED" || $bug_status eq "REOPENED") { $desc = ""; + } else { + $desc = "[$resolution]"; } push(@verbose, $i . "$desc"); $count++; -- cgit v1.2.3-24-g4f1b