diff options
author | jocuri%softhome.net <> | 2004-07-08 08:49:41 +0200 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-07-08 08:49:41 +0200 |
commit | e09a3eae0f1068e40ae8e09f4ba7e090fd4b54e4 (patch) | |
tree | bd9d6622d93159a814ee1ecb2e29fb88f7cf4c7e /editproducts.cgi | |
parent | 8df71955b11c27791f3b04808adbe31e3529f796 (diff) | |
download | bugzilla-e09a3eae0f1068e40ae8e09f4ba7e090fd4b54e4.tar.gz bugzilla-e09a3eae0f1068e40ae8e09f4ba7e090fd4b54e4.tar.xz |
Patch for bug 250259: Fix taint error on disallownew field in editproducts.cgi; patch by GavinS <bugzilla@chimpychompy.org>; r=vladd, a=justdave.
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index 6d33c8080..b0e6279e0 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -1092,7 +1092,7 @@ if ($action eq 'update') { milestones READ"); if ($disallownew ne $disallownewold) { - $disallownew ||= 0; + $disallownew = $disallownew ? 1 : 0; SendSQL("UPDATE products SET disallownew=$disallownew WHERE id=$product_id"); |