diff options
author | dave%intrec.com <> | 2001-01-25 10:51:49 +0000 |
---|---|---|
committer | dave%intrec.com <> | 2001-01-25 10:51:49 +0000 |
commit | 96cbf32c14dc1c024153e8fc9dc764737ab7ba98 (patch) | |
tree | 6a0da025b4b49a1682fdcbefd18fcc98e284b98a /bug_form.pl | |
parent | 31c7bd50f37c3337c13017bf5d3c5a6dc9210972 (diff) | |
download | bugs-96cbf32c14dc1c024153e8fc9dc764737ab7ba98.tar bugs-96cbf32c14dc1c024153e8fc9dc764737ab7ba98.tar.gz bugs-96cbf32c14dc1c024153e8fc9dc764737ab7ba98.tar.bz2 bugs-96cbf32c14dc1c024153e8fc9dc764737ab7ba98.tar.xz bugs-96cbf32c14dc1c024153e8fc9dc764737ab7ba98.zip |
Re-fixing bug 30694. part of the original patch got left out.
Diffstat (limited to 'bug_form.pl')
-rw-r--r-- | bug_form.pl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bug_form.pl b/bug_form.pl index fcd33a7a1..a9daf8932 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -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); |