summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 98b7ff116..2607628d0 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -246,9 +246,9 @@ sub GetGroupsByUserId {
SendSQL("
SELECT DISTINCT groups.id, name, description, isactive
FROM groups, user_group_map
- WHERE user_id = $userid AND NOT isbless
+ WHERE user_id = $userid AND isbless = 0
AND user_group_map.group_id = groups.id
- AND isbuggroup
+ AND isbuggroup = 1
ORDER BY description ");
my @groups;