summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-12 11:08:54 +0200
committerlpsolit%gmail.com <>2005-10-12 11:08:54 +0200
commit2ecd676f8e8154f6364a3a158013250695ed9251 (patch)
treea5444c151d610a2d8a4751b4ffde88739624a259 /post_bug.cgi
parent6e549ec68c0893d8eba685a5d1a4eb151752a07d (diff)
downloadbugzilla-2ecd676f8e8154f6364a3a158013250695ed9251.tar.gz
bugzilla-2ecd676f8e8154f6364a3a158013250695ed9251.tar.xz
Bug 306325: Move CanEnterProduct() and CanEnterProductOrWarn() out of globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel r=wicked a=justdave
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index f32ef9b14..176b42d71 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -78,7 +78,7 @@ ValidateComment($comment);
# Check that the product exists and that the user
# is allowed to enter bugs into this product.
my $product = $cgi->param('product');
-CanEnterProductOrWarn($product);
+$user->can_enter_product($product, 1);
my $product_id = get_product_id($product);