aboutsummaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-12 03:06:11 +0000
committermkanat%kerio.com <>2005-03-12 03:06:11 +0000
commit9ddbd40c8fc8244e52981a90247c68c06f46ef5b (patch)
tree7ec0009c9b49a5b0ca2df743a4a9dd5f68ab7d44 /editproducts.cgi
parent16eccfdc8fcb6efbfb602f47ab5ae15c7c4ac3de (diff)
downloadbugs-9ddbd40c8fc8244e52981a90247c68c06f46ef5b.tar
bugs-9ddbd40c8fc8244e52981a90247c68c06f46ef5b.tar.gz
bugs-9ddbd40c8fc8244e52981a90247c68c06f46ef5b.tar.bz2
bugs-9ddbd40c8fc8244e52981a90247c68c06f46ef5b.tar.xz
bugs-9ddbd40c8fc8244e52981a90247c68c06f46ef5b.zip
Bug 285678: NOT(integer) not supported by postgres
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=myk
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index db391228b..ea4bc5e5b 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -339,7 +339,7 @@ unless ($action) {
my $query = "SELECT products.name,
COALESCE(products.description,'') AS description,
- NOT(disallownew) AS status,
+ disallownew = 0 AS status,
votesperuser, maxvotesperbug, votestoconfirm,
COUNT(bug_id) AS bug_count
FROM products";