ThrowUserError('entry_access_denied', {product => $product_name});
}
# It could be closed for bug entry...
- elsif ($product->disallow_new) {
+ elsif (!$product->is_active) {
ThrowUserError('product_disabled', {product => $product});
}
# It could have no components...
</tr>
<tr>
- <TD VALIGN="top">Closed for [% terms.bugs %]:</TD>
- <TD VALIGN="top">[% IF product.disallow_new %]Yes[% ELSE %]No[% END %]</td>
+ <TD VALIGN="top">Open for [% terms.bugs %]:</TD>
+ <TD VALIGN="top">[% IF product.is_active %]Yes[% ELSE %]No[% END %]</td>
</tr>
<tr>
<td valign="top">[% terms.Bugs %]:</td>
selected="selected"
[% ELSIF (control_field && control_value
&& !bug.${control_field.name}.contains(control_value.name))
- || (field.name == "product" && legal_value.disallow_new)
+ || (field.name == "product" && !legal_value.is_active)
%]
class="bz_hidden_option" disabled="disabled"
[% END %]>