From 297fc3e8d333f02f999303cd2cce501b8b12795c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 15 Apr 2005 00:07:17 +0000 Subject: Bug 290095: Do not display flag types in show_bug.cgi whose inclusion list is empty - Patch by Frédéric Buclin r=joel, a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/FlagType.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/FlagType.pm') diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm index da0c43281..6b4c31c7f 100644 --- a/Bugzilla/FlagType.pm +++ b/Bugzilla/FlagType.pm @@ -494,7 +494,7 @@ sub sqlify_criteria { # Add inclusions to the query, which simply involves joining the table # by flag type ID and target product/component. - push(@$tables, "LEFT JOIN flaginclusions ON " . + push(@$tables, "INNER JOIN flaginclusions ON " . "flagtypes.id = flaginclusions.type_id"); push(@criteria, "(flaginclusions.product_id = $product_id " . " OR flaginclusions.product_id IS NULL)"); -- cgit v1.2.3-24-g4f1b