summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-16 22:37:49 +0200
committerlpsolit%gmail.com <>2006-06-16 22:37:49 +0200
commitd9548f66b0f47af651f8fa62fa69cc7e65df0a60 (patch)
tree80c1c5e677910413e87e7dd828b55ed2979d6e49 /query.cgi
parentf35e18b585fd8c2604e43d1fbdf53a36bf77e804 (diff)
downloadbugzilla-d9548f66b0f47af651f8fa62fa69cc7e65df0a60.tar.gz
bugzilla-d9548f66b0f47af651f8fa62fa69cc7e65df0a60.tar.xz
Bug 328438: Eliminate @::log_columns - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=myk
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/query.cgi b/query.cgi
index daae265d7..b82504808 100755
--- a/query.cgi
+++ b/query.cgi
@@ -30,6 +30,7 @@ use lib ".";
require "globals.pl";
+use Bugzilla::Bug;
use Bugzilla::Constants;
use Bugzilla::Search;
use Bugzilla::User;
@@ -44,7 +45,6 @@ use vars qw(
@legal_platform
@legal_priority
@legal_severity
- @log_columns
);
my $cgi = Bugzilla->cgi;
@@ -253,7 +253,7 @@ push @chfields, "[Bug creation]";
# This is what happens when you have variables whose definition depends
# on the DB schema, and then the underlying schema changes...
-foreach my $val (@::log_columns) {
+foreach my $val (editable_bug_fields()) {
if ($val eq 'classification_id') {
$val = 'classification';
} elsif ($val eq 'product_id') {