aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-04-08 17:08:20 -0400
committerDave Lawrence <dlawrence@mozilla.com>2013-04-08 17:08:20 -0400
commit6a728fa390cd865d45cfc48025fad727fb0d58a7 (patch)
tree908a22e24deb2c7c1ce973178b6f89175d987d1d /userprefs.cgi
parentRemove unintentional code commits (diff)
downloadbugzilla-6a728fa390cd865d45cfc48025fad727fb0d58a7.tar.gz
bugzilla-6a728fa390cd865d45cfc48025fad727fb0d58a7.tar.bz2
bugzilla-6a728fa390cd865d45cfc48025fad727fb0d58a7.zip
Bug 148564 - Ability to ignore specific bugs (not get email from them, even as the reporter)
- Fix broken use of $cgi->param
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 225a6247e..638004c1e 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -331,7 +331,7 @@ sub SaveEmail {
map { $ignored_bugs{$_} = 1 } @add_ignored;
# Remove any bug ids the user no longer wants to ignore
- foreach my $key (grep(/^remove_ignored_bug_/, $cgi->params)) {
+ foreach my $key (grep(/^remove_ignored_bug_/, $cgi->param)) {
my ($bug_id) = $key =~ /(\d+)$/;
delete $ignored_bugs{$bug_id};
}