From b521a0f3775e6598e8174c32b3ec309db96c7817 Mon Sep 17 00:00:00 2001
From: "terry%mozilla.org" <>
Date: Wed, 5 Jan 2000 05:29:51 +0000
Subject: A few months ago, we lost the ability to edit the votes-per-user
field in a product. Which meant nobody could turn on or off this feature.
Restored the editing ability.
---
editproducts.cgi | 46 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 35 insertions(+), 11 deletions(-)
(limited to 'editproducts.cgi')
diff --git a/editproducts.cgi b/editproducts.cgi
index 5e54813a2..f976a569b 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -72,9 +72,10 @@ sub CheckProduct ($)
# Displays the form to edit a products parameters
#
-sub EmitFormElements ($$$$)
+sub EmitFormElements ($$$$$)
{
- my ($product, $description, $milestoneurl, $disallownew) = @_;
+ my ($product, $description, $milestoneurl, $disallownew,
+ $votesperuser) = @_;
$product = value_quote($product);
$description = value_quote($description);
@@ -97,6 +98,10 @@ sub EmitFormElements ($$$$)
print "