Commit 6a728fa3 authored by Dave Lawrence's avatar Dave Lawrence

Bug 148564 - Ability to ignore specific bugs (not get email from them, even as the reporter)

- Fix broken use of $cgi->param
parent bd7aa0ad
......@@ -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};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment