diff options
author | terry%mozilla.org <> | 1999-10-08 08:54:47 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-10-08 08:54:47 +0200 |
commit | c6f80310afc00cf7d5114e638cbaaefde3914da0 (patch) | |
tree | 6bdaf2497180648d821f3a91e320b6c80b29de23 /doeditcomponents.cgi | |
parent | 12d85f8fa42b7130608531ea61b287e9fa822125 (diff) | |
download | bugzilla-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar.gz bugzilla-c6f80310afc00cf7d5114e638cbaaefde3914da0.tar.xz |
Added the ability for users to "vote" on which bugs they think should
be fixed.
Diffstat (limited to 'doeditcomponents.cgi')
-rwxr-xr-x | doeditcomponents.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
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; |