From 814b24fdc9407a741967322041ff817665f8e00b Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 7 Jul 2010 03:58:10 +0200 Subject: Bug 519835: Remove Bugzilla::Product::check_product() in favor of Bugzilla::Product->check() r=mkanat a=LpSolit --- editflagtypes.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editflagtypes.cgi') diff --git a/editflagtypes.cgi b/editflagtypes.cgi index a0e64957b..c09d0edb0 100755 --- a/editflagtypes.cgi +++ b/editflagtypes.cgi @@ -595,7 +595,8 @@ sub validateProduct { my $product_name = shift; return unless $product_name; - my $product = Bugzilla::Product::check_product($product_name); + my $product = Bugzilla::Product->check({ name => $product_name, + allow_inaccessible => 1 }); return $product; } -- cgit v1.2.3-24-g4f1b