summaryrefslogtreecommitdiffstats
path: root/processmail
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-08 08:54:47 +0200
committerterry%mozilla.org <>1999-10-08 08:54:47 +0200
commitc6f80310afc00cf7d5114e638cbaaefde3914da0 (patch)
tree6bdaf2497180648d821f3a91e320b6c80b29de23 /processmail
parent12d85f8fa42b7130608531ea61b287e9fa822125 (diff)
downloadbugzilla-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 'processmail')
-rwxr-xr-xprocessmail4
1 files changed, 4 insertions, 0 deletions
diff --git a/processmail b/processmail
index 04c064df3..58d53e51f 100755
--- a/processmail
+++ b/processmail
@@ -190,6 +190,10 @@ sub GetBugText {
my @cclist;
@cclist = split(/,/, ShowCcList($id));
+ SendSQL("select profiles.login_name from votes, profiles where votes.bug_id = $id and profiles.userid = votes.who");
+ while (MoreSQLData()) {
+ push(@cclist, FetchOneColumn());
+ }
$::bug{'cclist'} = \@cclist;