summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-04-08 23:08:20 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-04-08 23:08:20 +0200
commit6a728fa390cd865d45cfc48025fad727fb0d58a7 (patch)
tree908a22e24deb2c7c1ce973178b6f89175d987d1d
parentbd7aa0ad2bb25e7820df1e629f853f7a17f5d0e0 (diff)
downloadbugzilla-6a728fa390cd865d45cfc48025fad727fb0d58a7.tar.gz
bugzilla-6a728fa390cd865d45cfc48025fad727fb0d58a7.tar.xz
Bug 148564 - Ability to ignore specific bugs (not get email from them, even as the reporter)
- Fix broken use of $cgi->param
-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};
}