summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 58183a005..55be2cf9e 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -728,7 +728,7 @@ sub can_enter_product {
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...