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 02e043c5d..e32b7f509 100755
--- a/editflagtypes.cgi
+++ b/editflagtypes.cgi
@@ -600,7 +600,8 @@ sub validateComponent {
($product && $product->id)
|| ThrowUserError("flag_type_component_without_product");
- my $component = Bugzilla::Component::check_component($product, $component_name);
+ my $component = Bugzilla::Component->check({ product => $product,
+ name => $component_name });
return $component;
}