From 52abf10f5c2d745491a168d1a5f1030368628b3f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 12 Oct 2007 04:07:22 +0000 Subject: Bug 313123: Implement $component->create and $component->update based on Object.pm - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editflagtypes.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editflagtypes.cgi') 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; } -- cgit v1.2.3-24-g4f1b