From: matty%chariot.net.au <> Date: Wed, 21 Nov 2001 16:09:32 +0000 (+0000) Subject: Bug 110276:SQL error in globals.pl. X-Git-Tag: bugzilla-2.16rc1~303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd8f8cedb0637e5afb46bf50e3e6569520b88f7b;p=thirdparty%2Fbugzilla.git Bug 110276:SQL error in globals.pl. Patch by me, r=bbaetz,caillon. --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index c62506c452..a10afb8964 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());