summaryrefslogtreecommitdiffstats
path: root/colchange.cgi
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2005-01-17 05:27:24 +0100
committerjocuri%softhome.net <>2005-01-17 05:27:24 +0100
commit698c612d21b422d02797dbf30c8bdef2bc0bb9ad (patch)
tree0b50a27a6b2ac30886bf285b4cb6c6deb6a1c08d /colchange.cgi
parentc3274f47d71e1526d9dbe33b158b1e4e8dd272f6 (diff)
downloadbugzilla-698c612d21b422d02797dbf30c8bdef2bc0bb9ad.tar.gz
bugzilla-698c612d21b422d02797dbf30c8bdef2bc0bb9ad.tar.xz
Patch for bug 276842: Move @default_column_list out of globals.pl into Bugzilla/Constants.pm; patch by Max K-A <mkanat@kerio.com>, r=vladd, a=myk.
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-xcolchange.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/colchange.cgi b/colchange.cgi
index 8e2fc2d49..d84ee5404 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -33,7 +33,7 @@ use vars qw(
);
use Bugzilla;
-
+use Bugzilla::Constants;
require "CGI.pl";
Bugzilla->login();
@@ -88,7 +88,7 @@ my @collist;
if (defined $cgi->param('rememberedquery')) {
my $splitheader = 0;
if (defined $cgi->param('resetit')) {
- @collist = @::default_column_list;
+ @collist = DEFAULT_COLUMN_LIST;
} else {
foreach my $i (@masterlist) {
if (defined $cgi->param("column_$i")) {
@@ -133,7 +133,7 @@ if (defined $cgi->param('rememberedquery')) {
if (defined $cgi->cookie('COLUMNLIST')) {
@collist = split(/ /, $cgi->cookie('COLUMNLIST'));
} else {
- @collist = @::default_column_list;
+ @collist = DEFAULT_COLUMN_LIST;
}
$vars->{'collist'} = \@collist;