diff options
author | lpsolit%gmail.com <> | 2007-10-12 06:07:22 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-10-12 06:07:22 +0200 |
commit | 52abf10f5c2d745491a168d1a5f1030368628b3f (patch) | |
tree | bb549302c2c56e329302d61022080a71fe915bd7 /editflagtypes.cgi | |
parent | 52fecc3e11f934046e721bd18cd05f746bd8166f (diff) | |
download | bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.gz bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.xz |
Bug 313123: Implement $component->create and $component->update based on Object.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-x | editflagtypes.cgi | 3 |
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; } |