]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Re-fixing bug 30694. part of the original patch got left out.
authordave%intrec.com <>
Thu, 25 Jan 2001 10:51:49 +0000 (10:51 +0000)
committerdave%intrec.com <>
Thu, 25 Jan 2001 10:51:49 +0000 (10:51 +0000)
bug_form.pl
processmail

index fcd33a7a175bb22baf4461cdeeaabc6e60adf307..a9daf8932f2ee94c11f1a7cf6ce54c6c496e6bff 100644 (file)
@@ -321,11 +321,8 @@ sub EmitDependList {
     my ($desc, $myfield, $targetfield) = (@_);
     print "<th align=right>$desc:</th><td>";
     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);
index f3dfdebdbeb1df0c47edfe19517cf8fe2cb31b65..15b0c636667db80b3e5dc234752e7df7d1f6899e 100755 (executable)
@@ -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]";