Commit 96cbf32c authored by dave%intrec.com's avatar dave%intrec.com

Re-fixing bug 30694. part of the original patch got left out.

parent 31c7bd50
...@@ -321,11 +321,8 @@ sub EmitDependList { ...@@ -321,11 +321,8 @@ sub EmitDependList {
my ($desc, $myfield, $targetfield) = (@_); my ($desc, $myfield, $targetfield) = (@_);
print "<th align=right>$desc:</th><td>"; print "<th align=right>$desc:</th><td>";
my @list; my @list;
SendSQL("select dependencies.$targetfield SendSQL("select $targetfield from dependencies where
from dependencies, bugs $myfield = $id order by $targetfield");
where dependencies.$myfield = $id
and bugs.bug_id = dependencies.$targetfield
order by dependencies.$targetfield");
while (MoreSQLData()) { while (MoreSQLData()) {
my ($i) = (FetchSQLData()); my ($i) = (FetchSQLData());
push(@list, $i); push(@list, $i);
......
...@@ -141,7 +141,7 @@ sub DescDependencies { ...@@ -141,7 +141,7 @@ sub DescDependencies {
my ($bug_status, $resolution) = (FetchSQLData()); my ($bug_status, $resolution) = (FetchSQLData());
my $desc; my $desc;
if ($bug_status eq "NEW" || $bug_status eq "ASSIGNED" || if ($bug_status eq "NEW" || $bug_status eq "ASSIGNED" ||
$bug_status eq "REOPENED") { $bug_status eq "REOPENED" || $bug_status eq "UNCONFIRMED") {
$desc = ""; $desc = "";
} else { } else {
$desc = "[$resolution]"; $desc = "[$resolution]";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment