summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-08-11 06:34:17 +0200
committermkanat%bugzilla.org <>2009-08-11 06:34:17 +0200
commitea25630305fbd3b55c142c32aab82f9cc7afccfa (patch)
tree1b554df79fe0a83a02075566615552783e9e873b /show_bug.cgi
parent918a8c245f8d0d7d0926a015aa9a4940c14ebdd3 (diff)
downloadbugzilla-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.gz
bugzilla-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.xz
Bug 509045: Make "use_keywords" a global template variable instead of having to pass it to templates all the time
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi1
1 files changed, 0 insertions, 1 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 42fad7121..c0e543234 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -99,7 +99,6 @@ eval {
$vars->{'bugs'} = \@bugs;
$vars->{'marks'} = \%marks;
-$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
my @bugids = map {$_->bug_id} grep {!$_->error} @bugs;
$vars->{'bugids'} = join(", ", @bugids);