From d75dc86c93e7390f5391df27e0b3285bb5c8e491 Mon Sep 17 00:00:00 2001 From: "dave%intrec.com" Date: Thu, 25 Jan 2001 02:51:49 +0000 Subject: [PATCH] Re-fixing bug 30694. part of the original patch got left out. git-svn-id: svn://10.0.0.236/trunk@85462 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/bug_form.pl | 7 ++----- mozilla/webtools/bugzilla/processmail | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/mozilla/webtools/bugzilla/bug_form.pl b/mozilla/webtools/bugzilla/bug_form.pl index fcd33a7a175..a9daf8932f2 100644 --- a/mozilla/webtools/bugzilla/bug_form.pl +++ b/mozilla/webtools/bugzilla/bug_form.pl @@ -321,11 +321,8 @@ sub EmitDependList { my ($desc, $myfield, $targetfield) = (@_); print "$desc:"; my @list; - SendSQL("select dependencies.$targetfield - from dependencies, bugs - where dependencies.$myfield = $id - and bugs.bug_id = dependencies.$targetfield - order by dependencies.$targetfield"); + SendSQL("select $targetfield from dependencies where + $myfield = $id order by $targetfield"); while (MoreSQLData()) { my ($i) = (FetchSQLData()); push(@list, $i); diff --git a/mozilla/webtools/bugzilla/processmail b/mozilla/webtools/bugzilla/processmail index f3dfdebdbeb..15b0c636667 100755 --- a/mozilla/webtools/bugzilla/processmail +++ b/mozilla/webtools/bugzilla/processmail @@ -141,7 +141,7 @@ sub DescDependencies { my ($bug_status, $resolution) = (FetchSQLData()); my $desc; if ($bug_status eq "NEW" || $bug_status eq "ASSIGNED" || - $bug_status eq "REOPENED") { + $bug_status eq "REOPENED" || $bug_status eq "UNCONFIRMED") { $desc = ""; } else { $desc = "[$resolution]";