summaryrefslogtreecommitdiffstats
path: root/chart.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 /chart.cgi
parent438d57d65626d068ca0f28de46410ebecc9a9b57 (diff)
downloadbugzilla-86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b.tar.gz
bugzilla-86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b.tar.xz
Bug 1136137: Require Perl 5.14
r=dkl
Diffstat (limited to 'chart.cgi')
-rwxr-xr-xchart.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart.cgi b/chart.cgi
index 62054b799..13c9fe4cc 100755
--- a/chart.cgi
+++ b/chart.cgi
@@ -27,7 +27,7 @@
# Bonus:
# Offer subscription when you get a "series already exists" error?
-use 5.10.1;
+use 5.14.0;
use strict;
use warnings;
@@ -231,7 +231,7 @@ sub getAndValidateSeriesIDs {
# Return a list of IDs of all the lines selected in the UI.
sub getSelectedLines {
- my @ids = map { /^select(\d+)$/ ? $1 : () } $cgi->param();
+ my @ids = map { /^select(\d+)$/a ? $1 : () } $cgi->param();
return @ids;
}