summaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi3
1 files changed, 2 insertions, 1 deletions
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;
}