From dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 15 Jul 2010 19:55:10 -0700 Subject: Bug 398308: Make Search.pm take a hashref for its "params" argument instead of taking a CGI object. r=mkanat, a=mkanat (module owner) --- report.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report.cgi') 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'; -- cgit v1.2.3-24-g4f1b