summaryrefslogtreecommitdiffstats
path: root/request.cgi
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-07-03 09:26:28 +0200
committerjocuri%softhome.net <>2004-07-03 09:26:28 +0200
commit00cc8677e25a98e81d70757cc02991e63ee3b975 (patch)
treebb065f42db71af22477394a6e1648794096df3c9 /request.cgi
parent7600babc226dfaad905fb78a978715639b75e48f (diff)
downloadbugzilla-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 'request.cgi')
-rwxr-xr-xrequest.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/request.cgi b/request.cgi
index 43be69856..e330c2c83 100755
--- a/request.cgi
+++ b/request.cgi
@@ -81,8 +81,8 @@ sub queue {
# should not have access.
" COUNT(DISTINCT ugmap.group_id) AS cntuseringroups,
COUNT(DISTINCT bgmap.group_id) AS cntbugingroups,
- ((COUNT(DISTINCT ccmap.who) AND cclist_accessible)
- OR ((bugs.reporter = $::userid) AND bugs.reporter_accessible)
+ ((COUNT(DISTINCT ccmap.who) AND cclist_accessible = 1)
+ OR ((bugs.reporter = $::userid) AND bugs.reporter_accessible = 1)
OR bugs.assigned_to = $::userid ) AS canseeanyway
" .
# Use the flags and flagtypes tables for information about the flags,