Commit d268cf28 authored by terry%mozilla.org's avatar terry%mozilla.org

Wow. Turns out this stuff would only handle 10 products. Did the

cheap fix that lets it handle 1000 products.
parent f9449010
...@@ -93,7 +93,7 @@ PutHeader("Saving new component info"); ...@@ -93,7 +93,7 @@ PutHeader("Saving new component info");
unlink "data/versioncache"; unlink "data/versioncache";
GetVersionTable(); GetVersionTable();
my $prodcode = "P0"; my $prodcode = "P000";
foreach my $product (@::legal_product) { foreach my $product (@::legal_product) {
SendSQL("select description, milestoneurl, disallownew from products where product='$product'"); SendSQL("select description, milestoneurl, disallownew from products where product='$product'");
......
...@@ -56,7 +56,7 @@ my $rowbreak = "<tr><td colspan=2><hr></td></tr>"; ...@@ -56,7 +56,7 @@ my $rowbreak = "<tr><td colspan=2><hr></td></tr>";
unlink "data/versioncache"; unlink "data/versioncache";
GetVersionTable(); GetVersionTable();
my $prodcode = "P0"; my $prodcode = "P000";
foreach my $product (@::legal_product) { foreach my $product (@::legal_product) {
SendSQL("select description, milestoneurl, disallownew from products where product='$product'"); SendSQL("select description, milestoneurl, disallownew from products where product='$product'");
......
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