summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
commit90d86a9744883ccc120a0a955ffade72990e1505 (patch)
tree07fd038fc41a2de0259f2f7c6a9de0d55e8a1e34 /query.cgi
parentae22da8710d00232d28b7c6b9093d2b7e33b0627 (diff)
downloadbugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.gz
bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.xz
Bug 1088022 - Bump min version to CGI 4.09
r=dkl
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/query.cgi b/query.cgi
index 4fa52f5c8..88277bf35 100755
--- a/query.cgi
+++ b/query.cgi
@@ -114,7 +114,7 @@ sub PrefillForm {
# search or from an old link on the web somewhere) then convert them
# to the new "custom search" format so that the form is populated
# properly.
- my $any_boolean_charts = grep { /^field-?\d+/ } $buf->param();
+ my $any_boolean_charts = grep { /^field-?\d+/ } $buf->multi_param();
if ($any_boolean_charts) {
my $search = new Bugzilla::Search(params => scalar $buf->Vars);
$search->boolean_charts_to_custom_search($buf);
@@ -124,10 +124,10 @@ sub PrefillForm {
my @skip = qw(format query_format list_id columnlist);
# Iterate over the URL parameters
- foreach my $name ($buf->param()) {
+ foreach my $name ($buf->multi_param()) {
next if grep { $_ eq $name } @skip;
$foundone = 1;
- my @values = $buf->param($name);
+ my @values = $buf->multi_param($name);
# If the name is a single letter followed by numbers, it's part
# of Custom Search. We store these as an array of hashes.