Commit 33ee1e88 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 252214: Allow max of zero votes per bug - Patch by Alfred Karl Kornel…

Bug 252214: Allow max of zero votes per bug - Patch by Alfred Karl Kornel <kornel.1@osu.edu> r=vladd a=justdave
parent 546f39ba
......@@ -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;
}
......
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