diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-16 04:55:10 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-16 04:55:10 +0200 |
commit | dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b (patch) | |
tree | db913e59441783297ad780e89cd372897a6ec184 /whine.pl | |
parent | 6a2a01fbc44c5a777b3a612540a9ced23401c2bc (diff) | |
download | bugzilla-dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b.tar.gz bugzilla-dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b.tar.xz |
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 'whine.pl')
-rwxr-xr-x | whine.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -446,7 +446,7 @@ sub run_queries { my $searchparams = new Bugzilla::CGI($savedquery); my $search = new Bugzilla::Search( 'fields' => \@searchfields, - 'params' => $searchparams, + 'params' => scalar $searchparams->Vars, 'user' => $args->{'recipient'}, # the search runs as the recipient ); my $sqlquery = $search->sql; |