From: terry%mozilla.org <>
Date: Wed, 5 Jan 2000 05:29:51 +0000 (+0000)
Subject: A few months ago, we lost the ability to edit the votes-per-user field
X-Git-Tag: bugzilla-2.12~491
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b521a0f3775e6598e8174c32b3ec309db96c7817;p=thirdparty%2Fbugzilla.git
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.
---
diff --git a/editproducts.cgi b/editproducts.cgi
index 5e54813a2f..f976a569bb 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 "