summaryrefslogtreecommitdiffstats
path: root/collectstats.pl
diff options
context:
space:
mode:
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-xcollectstats.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectstats.pl b/collectstats.pl
index f090ba5fc..f5ba2ddab 100755
--- a/collectstats.pl
+++ b/collectstats.pl
@@ -509,7 +509,7 @@ sub CollectSeriesData {
# Do not die if Search->new() detects invalid data, such as an obsolete
# login name or a renamed product or component, etc.
eval {
- my $search = new Bugzilla::Search('params' => $cgi,
+ my $search = new Bugzilla::Search('params' => scalar $cgi->Vars,
'fields' => ["bug_id"],
'user' => $user);
my $sql = $search->sql;