summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-12 04:06:11 +0100
committermkanat%kerio.com <>2005-03-12 04:06:11 +0100
commit9ddbd40c8fc8244e52981a90247c68c06f46ef5b (patch)
tree7ec0009c9b49a5b0ca2df743a4a9dd5f68ab7d44 /CGI.pl
parent16eccfdc8fcb6efbfb602f47ab5ae15c7c4ac3de (diff)
downloadbugzilla-9ddbd40c8fc8244e52981a90247c68c06f46ef5b.tar.gz
bugzilla-9ddbd40c8fc8244e52981a90247c68c06f46ef5b.tar.xz
Bug 285678: NOT(integer) not supported by postgres
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=myk
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 8d42eb4cc..31ed48e3d 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -304,7 +304,7 @@ sub GetBugActivity {
if (Param("insidergroup") && !UserInGroup(Param('insidergroup'))) {
$suppjoins = "LEFT JOIN attachments
ON attachments.attach_id = bugs_activity.attach_id";
- $suppwhere = "AND NOT(COALESCE(attachments.isprivate,0))";
+ $suppwhere = "AND COALESCE(attachments.isprivate, 0) = 0";
}
my $query = "
SELECT COALESCE(fielddefs.description, bugs_activity.fieldid),