aboutsummaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
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 /post_bug.cgi
parent918a8c245f8d0d7d0926a015aa9a4940c14ebdd3 (diff)
downloadbugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar
bugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.gz
bugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.bz2
bugs-ea25630305fbd3b55c142c32aab82f9cc7afccfa.tar.xz
bugs-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 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi1
1 files changed, 0 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 997b621ad..c6e4006e0 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -279,7 +279,6 @@ if ($cgi->cookie("BUGLIST")) {
@bug_list = split(/:/, $cgi->cookie("BUGLIST"));
}
$vars->{'bug_list'} = \@bug_list;
-$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
if ($token) {
trick_taint($token);