]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 148564 - Ability to ignore specific bugs (not get email from them, even as the...
authorDave Lawrence <dlawrence@mozilla.com>
Mon, 8 Apr 2013 21:08:20 +0000 (17:08 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Mon, 8 Apr 2013 21:08:20 +0000 (17:08 -0400)
- Fix broken use of $cgi->param

userprefs.cgi

index 225a6247e7a892c7feda8ef65b64041193f930a3..638004c1e8a71787ab2948a717c5470096c991de 100755 (executable)
@@ -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};
     }