From: lpsolit%gmail.com <> Date: Tue, 7 Jun 2005 04:37:57 +0000 (+0000) Subject: Bug 252214: Allow max of zero votes per bug - Patch by Alfred Karl Kornel r=vladd a=justdave --- diff --git a/editproducts.cgi b/editproducts.cgi index cd124169f1..229aa64d27 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -1252,8 +1252,8 @@ if ($action eq 'update') { CheckProduct($productold); my $product_id = get_product_id($productold); - if (!detaint_natural($maxvotesperbug) || $maxvotesperbug == 0) { - print "Sorry, the max votes per bug must be a positive integer."; + if (!detaint_natural($maxvotesperbug)) { + print "Sorry, the max votes per bug must be an integer >= 0."; PutTrailer($localtrailer); exit; }