summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-07 05:37:37 +0200
committerterry%mozilla.org <>1999-10-07 05:37:37 +0200
commitd268cf28fb8befcc5038a2002ad2bd671b60d241 (patch)
tree11e720d8b4bf5ba43fe3409cf149754396fbe880
parentf9449010d7fa380286b74d088fa087ef2a92cb88 (diff)
downloadbugzilla-d268cf28fb8befcc5038a2002ad2bd671b60d241.tar.gz
bugzilla-d268cf28fb8befcc5038a2002ad2bd671b60d241.tar.xz
Wow. Turns out this stuff would only handle 10 products. Did the
cheap fix that lets it handle 1000 products.
-rwxr-xr-xdoeditcomponents.cgi2
-rwxr-xr-xeditcomponents.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/doeditcomponents.cgi b/doeditcomponents.cgi
index 7e8cc494c..bfe09e93d 100755
--- a/doeditcomponents.cgi
+++ b/doeditcomponents.cgi
@@ -93,7 +93,7 @@ PutHeader("Saving new component info");
unlink "data/versioncache";
GetVersionTable();
-my $prodcode = "P0";
+my $prodcode = "P000";
foreach my $product (@::legal_product) {
SendSQL("select description, milestoneurl, disallownew from products where product='$product'");
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 1de259924..a7e1e660e 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -56,7 +56,7 @@ my $rowbreak = "<tr><td colspan=2><hr></td></tr>";
unlink "data/versioncache";
GetVersionTable();
-my $prodcode = "P0";
+my $prodcode = "P000";
foreach my $product (@::legal_product) {
SendSQL("select description, milestoneurl, disallownew from products where product='$product'");