diff options
author | jocuri%softhome.net <> | 2004-07-03 09:26:28 +0200 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-07-03 09:26:28 +0200 |
commit | 00cc8677e25a98e81d70757cc02991e63ee3b975 (patch) | |
tree | bb065f42db71af22477394a6e1648794096df3c9 /buglist.cgi | |
parent | 7600babc226dfaad905fb78a978715639b75e48f (diff) | |
download | bugzilla-00cc8677e25a98e81d70757cc02991e63ee3b975.tar.gz bugzilla-00cc8677e25a98e81d70757cc02991e63ee3b975.tar.xz |
Patch for bug 248001: Conversion of boolean conditions in SQL statements for better DB independence; patch by David Lawrence <dkl@redhat.com>; r=joel, vladd; a=justdave.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
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; |