diff options
author | ghendricks%novell.com <> | 2009-06-01 16:43:12 +0200 |
---|---|---|
committer | ghendricks%novell.com <> | 2009-06-01 16:43:12 +0200 |
commit | 1a9927c0c012c6c2dcc82552d0e397c992599754 (patch) | |
tree | 802b342f6124dd5f4e915611a75599b74ffc8ec4 /Bugzilla | |
parent | c7093fe77e5f23ac400c7a9a5f47952c04d40e53 (diff) | |
download | bugzilla-1a9927c0c012c6c2dcc82552d0e397c992599754.tar.gz bugzilla-1a9927c0c012c6c2dcc82552d0e397c992599754.tar.xz |
Bug 494628 - Crash when trying to file a bug in a closed product r=LpSolit patch by ghendricks@novell.com
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/User.pm | 2 |
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... |