From d9548f66b0f47af651f8fa62fa69cc7e65df0a60 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 16 Jun 2006 20:37:49 +0000 Subject: Bug 328438: Eliminate @::log_columns - Patch by Max Kanat-Alexander r=LpSolit a=myk --- query.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'query.cgi') 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') { -- cgit v1.2.3-24-g4f1b