summaryrefslogtreecommitdiffstats
path: root/votes.cgi
diff options
context:
space:
mode:
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");