diff options
author | mkanat%bugzilla.org <> | 2009-07-07 20:16:51 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-07-07 20:16:51 +0200 |
commit | 89b15c8ff86238276de3428c379e46f7c04b6516 (patch) | |
tree | 43783cd8539a794b58ebe5b86dbfa7e43eaf143c /collectstats.pl | |
parent | 6a51c4c39e8ced6f808d5517d52c041d9305c2c0 (diff) | |
download | bugzilla-89b15c8ff86238276de3428c379e46f7c04b6516.tar.gz bugzilla-89b15c8ff86238276de3428c379e46f7c04b6516.tar.xz |
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 <mkanat@bugzilla.org> r=wicked, a=mkanat
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-x | collectstats.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); |