aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-15 19:55:10 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-15 19:55:10 -0700
commitdbaf1c3aaf975ed78d8e8538b2df18ab9f47654b (patch)
treedb913e59441783297ad780e89cd372897a6ec184 /report.cgi
parentBug 521416: Some web servers fail to set the QUERY_STRING parameter (diff)
downloadbugzilla-dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b.tar.gz
bugzilla-dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b.tar.bz2
bugzilla-dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b.zip
Bug 398308: Make Search.pm take a hashref for its "params" argument
instead of taking a CGI object. r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi
index 89f5ff674..dd5a0bb15 100755
--- a/report.cgi
+++ b/report.cgi
@@ -127,7 +127,7 @@ my @axis_fields = ($row_field || EMPTY_COLUMN,
# Clone the params, so that Bugzilla::Search can modify them
my $params = new Bugzilla::CGI($cgi);
my $search = new Bugzilla::Search('fields' => \@axis_fields,
- 'params' => $params);
+ 'params' => scalar $params->Vars);
my $query = $search->sql;
$::SIG{TERM} = 'DEFAULT';