Commit fffe057b authored by burnus%gmx.de's avatar burnus%gmx.de

Bug 180692 - enter_bug shows keywords option even if keywords are disabled

r=bbaetz, a=justdave
parent da98b60a
......@@ -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'});
......
......@@ -193,16 +193,18 @@
</tr>
[% IF UserInGroup('editbugs') %]
<tr>
<td align="right" valign="top">
<strong>
<a href="describekeywords.cgi">Keywords</a>:
</strong>
</td>
<td colspan="3">
<input name="keywords" size="60" value=""> (optional)
</td>
</tr>
[% IF use_keywords %]
<tr>
<td align="right" valign="top">
<strong>
<a href="describekeywords.cgi">Keywords</a>:
</strong>
</td>
<td colspan="3">
<input name="keywords" size="60" value=""> (optional)
</td>
</tr>
[% END %]
<tr>
<td align="right">
<strong>Depends on:</strong>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment