From: Dave Lawrence Date: Mon, 8 Apr 2013 21:08:20 +0000 (-0400) Subject: Bug 148564 - Ability to ignore specific bugs (not get email from them, even as the... X-Git-Tag: bugzilla-4.5.1~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a728fa390cd865d45cfc48025fad727fb0d58a7;p=thirdparty%2Fbugzilla.git Bug 148564 - Ability to ignore specific bugs (not get email from them, even as the reporter) - Fix broken use of $cgi->param --- diff --git a/userprefs.cgi b/userprefs.cgi index 225a6247e7..638004c1e8 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}; }