summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xqueryhelp.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/queryhelp.cgi b/queryhelp.cgi
index 9fd5d9857..16345af64 100755
--- a/queryhelp.cgi
+++ b/queryhelp.cgi
@@ -603,6 +603,7 @@ SendSQL("SELECT product,description FROM products ORDER BY product");
while (MoreSQLData()) {
my ($product, $productdesc) = FetchSQLData();
+ next if (Param("usebuggroups") && GroupExists($product) && !UserInGroup($product));
push (@products, $product);
$line_count++;