aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-10-12 04:07:22 +0000
committerlpsolit%gmail.com <>2007-10-12 04:07:22 +0000
commit52abf10f5c2d745491a168d1a5f1030368628b3f (patch)
treebb549302c2c56e329302d61022080a71fe915bd7 /editflagtypes.cgi
parentBug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() aft... (diff)
downloadbugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.gz
bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.bz2
bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.zip
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-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;
}