diff options
author | jocuri%softhome.net <> | 2004-09-04 18:15:05 +0200 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-09-04 18:15:05 +0200 |
commit | 8a86df6aec9168d1d67abdc8c4235e49c445902f (patch) | |
tree | e3c199cf557bca1433a5ea30aa9b2964d83e6dcc | |
parent | b23a7f3988c8c2c06b739cf8b59ab43e7797bcc0 (diff) | |
download | bugzilla-8a86df6aec9168d1d67abdc8c4235e49c445902f.tar.gz bugzilla-8a86df6aec9168d1d67abdc8c4235e49c445902f.tar.xz |
Bug 250591: Conversion of boolean conditions in SQL statements for better db independence (take 2); patch by David Lawrence <dkl@redhat.com>; r=vladd, a=justdave.
-rwxr-xr-x | request.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/request.cgi b/request.cgi index 047c4fa14..a494128d8 100755 --- a/request.cgi +++ b/request.cgi @@ -81,7 +81,7 @@ 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 = 1) + ((COUNT(DISTINCT ccmap.who) > 0 AND cclist_accessible = 1) OR ((bugs.reporter = $::userid) AND bugs.reporter_accessible = 1) OR bugs.assigned_to = $::userid ) AS canseeanyway " . |