summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-17 02:40:12 +0100
committertravis%sedsystems.ca <>2005-02-17 02:40:12 +0100
commit16473ce5a482f09d81c10e6692126ba6c21f8daa (patch)
tree49884fa414091f6fad4a3337fa9f2f54fcb8e010
parent25910f59aa99c9bef0cf091c5176583673bfcd2e (diff)
downloadbugzilla-16473ce5a482f09d81c10e6692126ba6c21f8daa.tar.gz
bugzilla-16473ce5a482f09d81c10e6692126ba6c21f8daa.tar.xz
Bug 282267 : product name is checked twice in enter_bug.cgi
Patch by Frederic Buclin <LpSolit@gmail.com> r=mkanat a=myk
-rwxr-xr-xenter_bug.cgi4
1 files changed, 0 insertions, 4 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 864487018..ad4213023 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -297,10 +297,6 @@ if(!CanEnterProduct($product))
GetVersionTable();
-if (lsearch(\@::enterable_products, $product) == -1) {
- ThrowUserError("invalid_product_name", { product => $product});
-}
-
my $product_id = get_product_id($product);
if (0 == @{$::components{$product}}) {