summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
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.