From: dave%intrec.com <>
Date: Thu, 25 Jan 2001 10:51:49 +0000 (+0000)
Subject: Re-fixing bug 30694. part of the original patch got left out.
X-Git-Tag: bugzilla-2.12~113
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96cbf32c14dc1c024153e8fc9dc764737ab7ba98;p=thirdparty%2Fbugzilla.git
Re-fixing bug 30694. part of the original patch got left out.
---
diff --git a/bug_form.pl b/bug_form.pl
index fcd33a7a17..a9daf8932f 100644
--- a/bug_form.pl
+++ b/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/processmail b/processmail
index f3dfdebdbe..15b0c63666 100755
--- a/processmail
+++ b/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]";
|