summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-02-29 19:34:34 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2016-02-29 19:34:34 +0100
commit86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b (patch)
tree85acb4dc08ab6ff6247c2aafca88ac7bb3acd2e0 /userprefs.cgi
parent438d57d65626d068ca0f28de46410ebecc9a9b57 (diff)
downloadbugzilla-86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b.tar.gz
bugzilla-86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b.tar.xz
Bug 1136137: Require Perl 5.14
r=dkl
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index bd5cfaf01..d7366a878 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -6,7 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
-use 5.10.1;
+use 5.14.0;
use strict;
use warnings;
@@ -332,7 +332,7 @@ sub SaveEmail {
# Remove any bug ids the user no longer wants to ignore
foreach my $key (grep(/^remove_ignored_bug_/, $cgi->param)) {
- my ($bug_id) = $key =~ /(\d+)$/;
+ my ($bug_id) = $key =~ /(\d+)$/a;
delete $ignored_bugs{$bug_id};
}