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
This commit is contained in:
dave%intrec.com 2001-01-25 02:51:49 +00:00
parent c52a0d1c42
commit d75dc86c93
2 changed files with 3 additions and 6 deletions

View 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);

View File

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