summaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-07-07 03:58:10 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-07-07 03:58:10 +0200
commit814b24fdc9407a741967322041ff817665f8e00b (patch)
tree8137af19b7fbb04b8966c959f56b78be98b4e404 /editflagtypes.cgi
parentef414f2b12f7686ad830fb884f69865cdb41f6c0 (diff)
downloadbugzilla-814b24fdc9407a741967322041ff817665f8e00b.tar.gz
bugzilla-814b24fdc9407a741967322041ff817665f8e00b.tar.xz
Bug 519835: Remove Bugzilla::Product::check_product() in favor of Bugzilla::Product->check()
r=mkanat a=LpSolit
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;
}