diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-04-08 23:08:20 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-04-08 23:08:20 +0200 |
commit | 6a728fa390cd865d45cfc48025fad727fb0d58a7 (patch) | |
tree | 908a22e24deb2c7c1ce973178b6f89175d987d1d | |
parent | bd7aa0ad2bb25e7820df1e629f853f7a17f5d0e0 (diff) | |
download | bugzilla-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-x | userprefs.cgi | 2 |
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}; } |