aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-08-11 04:34:17 +0000
committermkanat%bugzilla.org <>2009-08-11 04:34:17 +0000
commitea25630305fbd3b55c142c32aab82f9cc7afccfa (patch)
tree1b554df79fe0a83a02075566615552783e9e873b /show_bug.cgi
parentBug 503980: show_bug.cgi doesn't properly escape <!-- inside bug summary - Pa... (diff)
downloadbugzilla-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.gz
bugzilla-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.bz2
bugzilla-ea25630305fbd3b55c142c32aab82f9cc7afccfa.zip
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);