]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 110276:SQL error in globals.pl.
authormatty%chariot.net.au <>
Wed, 21 Nov 2001 16:09:32 +0000 (16:09 +0000)
committermatty%chariot.net.au <>
Wed, 21 Nov 2001 16:09:32 +0000 (16:09 +0000)
Patch by me, r=bbaetz,caillon.

showdependencygraph.cgi

index c62506c452c891b9d773d84d96e754a859c0557d..a10afb8964f49845c687e27f4cd0f3602466043b 100755 (executable)
@@ -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());