summaryrefslogtreecommitdiffstats
path: root/votes.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-20 08:42:56 +0200
committerlpsolit%gmail.com <>2005-04-20 08:42:56 +0200
commit57394ff026769d28ef6b5d077cb4655adf032936 (patch)
tree780e1e6b6069ae190fcaf7f509ef69274dfd91ee /votes.cgi
parent3e681ef2457ac8205f95b48e42922b17153180e2 (diff)
downloadbugzilla-57394ff026769d28ef6b5d077cb4655adf032936.tar.gz
bugzilla-57394ff026769d28ef6b5d077cb4655adf032936.tar.xz
Bug 290513: Move CheckIfVotedConfirmed() out of CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=myk
Diffstat (limited to 'votes.cgi')
-rwxr-xr-xvotes.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/votes.cgi b/votes.cgi
index 128dcba81..3d1ac7113 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -28,6 +28,7 @@ use lib ".";
use Bugzilla;
use Bugzilla::Constants;
+use Bugzilla::Bug;
require "CGI.pl";
@@ -323,7 +324,8 @@ sub record_votes {
'dependencies READ', 'groups READ', 'fielddefs READ',
'namedqueries READ', 'whine_queries READ', 'watch READ',
'profiles AS watchers READ', 'profiles AS watched READ',
- 'user_group_map READ', 'bug_group_map READ');
+ 'user_group_map READ', 'bug_group_map READ',
+ 'email_setting READ');
# Take note of, and delete the user's old votes from the database.
SendSQL("SELECT bug_id FROM votes WHERE who = $who");