summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-10-12 06:07:22 +0200
committerlpsolit%gmail.com <>2007-10-12 06:07:22 +0200
commit52abf10f5c2d745491a168d1a5f1030368628b3f (patch)
treebb549302c2c56e329302d61022080a71fe915bd7 /Bugzilla/Bug.pm
parent52fecc3e11f934046e721bd18cd05f746bd8166f (diff)
downloadbugzilla-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 'Bugzilla/Bug.pm')
-rwxr-xr-xBugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index e318537a5..cc492ad41 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -930,7 +930,7 @@ sub _check_component {
$name = trim($name);
$name || ThrowUserError("require_component");
($product = $invocant->product_obj) if ref $invocant;
- my $obj = Bugzilla::Component::check_component($product, $name);
+ my $obj = Bugzilla::Component->check({ product => $product, name => $name });
return $obj;
}