summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
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 9324fe68d..71177c346 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -626,7 +626,7 @@ if ($action eq 'update') {
products WRITE,
versions WRITE");
- if ($disallownew != $disallownewold) {
+ if ($disallownew ne $disallownewold) {
$disallownew ||= 0;
SendSQL("UPDATE products
SET disallownew=$disallownew