summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshowdependencygraph.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index c62506c45..a10afb896 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -124,7 +124,8 @@ node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey]
my $summary = "";
my $stat;
if ($::FORM{'showsummary'}) {
- SendSQL(SelectVisible("select bug_status, short_desc from bugs where bug_id = $k",
+ SendSQL(SelectVisible("SELECT bug_status, short_desc FROM bugs " .
+ "WHERE bugs.bug_id = $k",
$::userid,
$::usergroupset));
($stat, $summary) = (FetchSQLData());