From a2eca825a00b33912ec60f797d1112115772ec30 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Thu, 9 Mar 2006 08:08:57 +0000 Subject: Bug 328638: Remove @::legal_keywords and %::keywordsbyname Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- show_bug.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'show_bug.cgi') diff --git a/show_bug.cgi b/show_bug.cgi index 19aa88573..7f846efea 100755 --- a/show_bug.cgi +++ b/show_bug.cgi @@ -27,6 +27,7 @@ use lib qw(.); use Bugzilla; use Bugzilla::Constants; use Bugzilla::User; +use Bugzilla::Keyword; require "globals.pl"; @@ -94,7 +95,7 @@ eval { $vars->{'bugs'} = \@bugs; $vars->{'marks'} = \%marks; -$vars->{'use_keywords'} = 1 if (@::legal_keywords); +$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count(); # Next bug in list (if there is one) my @bug_list; -- cgit v1.2.3-24-g4f1b