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 {
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);
......
......@@ -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]";
......
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