]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 282267 : product name is checked twice in enter_bug.cgi
authortravis%sedsystems.ca <>
Thu, 17 Feb 2005 01:40:12 +0000 (01:40 +0000)
committertravis%sedsystems.ca <>
Thu, 17 Feb 2005 01:40:12 +0000 (01:40 +0000)
Patch by Frederic Buclin <LpSolit@gmail.com>  r=mkanat  a=myk

enter_bug.cgi

index 8644870188d9f6f6f4333905080369598ceb2f98..ad421302370b80c464d076bc1ca9342438e56115 100755 (executable)
@@ -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}}) {