From: burnus%gmx.de <> Date: Fri, 28 Feb 2003 05:13:27 +0000 (+0000) Subject: Bug 180692 - enter_bug shows keywords option even if keywords are disabled X-Git-Tag: bugzilla-2.17.4~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fffe057ba30815677909a93bb719451fb6d8f92c;p=thirdparty%2Fbugzilla.git Bug 180692 - enter_bug shows keywords option even if keywords are disabled r=bbaetz, a=justdave --- diff --git a/enter_bug.cgi b/enter_bug.cgi index 7f74c54838..b0dbeaa2ff 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -356,6 +356,8 @@ $vars->{'group'} = \@groups; $vars->{'default'} = \%default; +$vars->{'use_keywords'} = 1 if (@::legal_keywords); + my $format = GetFormat("bug/create/create", $::FORM{'format'}, $::FORM{'ctype'}); diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 302c7e3d9a..c59cd3a707 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -193,16 +193,18 @@ [% IF UserInGroup('editbugs') %] -