From 89b15c8ff86238276de3428c379e46f7c04b6516 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 7 Jul 2009 18:16:51 +0000 Subject: Bug 491467: Make Search.pm and buglist.cgi consistently take column ids for the "fields" and "order" arguments, to prevent problems with using SQL fragments in the order and columnlist. Patch by Max Kanat-Alexander r=wicked, a=mkanat --- collectstats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collectstats.pl') diff --git a/collectstats.pl b/collectstats.pl index 761c648c8..bcb0fac5b 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -561,7 +561,7 @@ sub CollectSeriesData { # login name or a renamed product or component, etc. eval { my $search = new Bugzilla::Search('params' => $cgi, - 'fields' => ["bugs.bug_id"], + 'fields' => ["bug_id"], 'user' => $user); my $sql = $search->getSQL(); $data = $shadow_dbh->selectall_arrayref($sql); -- cgit v1.2.3-24-g4f1b