diff options
author | mkanat%kerio.com <> | 2006-03-09 08:08:57 +0000 |
---|---|---|
committer | mkanat%kerio.com <> | 2006-03-09 08:08:57 +0000 |
commit | a2eca825a00b33912ec60f797d1112115772ec30 (patch) | |
tree | da4d1e84679afe825f8eb0ef4b1da7d5bc463d67 /query.cgi | |
parent | Bug 323912: When a group cannot be deleted because it is in used, ThrowUserEr... (diff) | |
download | bugzilla-a2eca825a00b33912ec60f797d1112115772ec30.tar.gz bugzilla-a2eca825a00b33912ec60f797d1112115772ec30.tar.bz2 bugzilla-a2eca825a00b33912ec60f797d1112115772ec30.zip |
Bug 328638: Remove @::legal_keywords and %::keywordsbyname
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,12 +36,12 @@ use Bugzilla::User; use Bugzilla::Util; use Bugzilla::Product; use Bugzilla::Version; +use Bugzilla::Keyword; use vars qw( @legal_resolution @legal_bug_status @legal_components - @legal_keywords @legal_opsys @legal_platform @legal_priority @@ -275,7 +275,7 @@ if (Param('usetargetmilestone')) { $vars->{'target_milestone'} = \@milestones; } -$vars->{'have_keywords'} = scalar(@::legal_keywords); +$vars->{'have_keywords'} = Bugzilla::Keyword::keyword_count(); push @::legal_resolution, "---"; # Oy, what a hack. shift @::legal_resolution; |