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; ...@@ -356,6 +356,8 @@ $vars->{'group'} = \@groups;
$vars->{'default'} = \%default; $vars->{'default'} = \%default;
$vars->{'use_keywords'} = 1 if (@::legal_keywords);
my $format = my $format =
GetFormat("bug/create/create", $::FORM{'format'}, $::FORM{'ctype'}); GetFormat("bug/create/create", $::FORM{'format'}, $::FORM{'ctype'});
......
...@@ -193,16 +193,18 @@ ...@@ -193,16 +193,18 @@
</tr> </tr>
[% IF UserInGroup('editbugs') %] [% IF UserInGroup('editbugs') %]
<tr> [% IF use_keywords %]
<td align="right" valign="top"> <tr>
<strong> <td align="right" valign="top">
<a href="describekeywords.cgi">Keywords</a>: <strong>
</strong> <a href="describekeywords.cgi">Keywords</a>:
</td> </strong>
<td colspan="3"> </td>
<input name="keywords" size="60" value=""> (optional) <td colspan="3">
</td> <input name="keywords" size="60" value=""> (optional)
</tr> </td>
</tr>
[% END %]
<tr> <tr>
<td align="right"> <td align="right">
<strong>Depends on:</strong> <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