Commit e09a3eae authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 250259: Fix taint error on disallownew field in editproducts.cgi;…

Patch for bug 250259: Fix taint error on disallownew field in editproducts.cgi; patch by GavinS <bugzilla@chimpychompy.org>; r=vladd, a=justdave.
parent 8df71955
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment