From c6f80310afc00cf7d5114e638cbaaefde3914da0 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Fri, 8 Oct 1999 06:54:47 +0000 Subject: Added the ability for users to "vote" on which bugs they think should be fixed. --- doeditcomponents.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doeditcomponents.cgi') diff --git a/doeditcomponents.cgi b/doeditcomponents.cgi index bfe09e93d..7f138f285 100755 --- a/doeditcomponents.cgi +++ b/doeditcomponents.cgi @@ -96,12 +96,12 @@ GetVersionTable(); my $prodcode = "P000"; foreach my $product (@::legal_product) { - SendSQL("select description, milestoneurl, disallownew from products where product='$product'"); + SendSQL("select description, milestoneurl, disallownew, votesperuser from products where product='$product'"); my @row = FetchSQLData(); if (!@row) { next; } - my ($description, $milestoneurl, $disallownew) = (@row); + my ($description, $milestoneurl, $disallownew, $votesperuser) = (@row); $prodcode++; Check($product, $::FORM{"prodcode-$prodcode"}); @@ -111,6 +111,7 @@ foreach my $product (@::legal_product) { DoOne($milestoneurl, "$prodcode-milestoneurl", $where); } DoOne($disallownew, "$prodcode-disallownew", $where); + DoOne($votesperuser, "$prodcode-votesperuser", $where); SendSQL("select value, initialowner, initialqacontact, description from components where program=" . SqlQuote($product) . " order by value"); my $c = 0; -- cgit v1.2.3-24-g4f1b