summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Product.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-09 14:00:20 +0200
committermkanat%bugzilla.org <>2006-07-09 14:00:20 +0200
commitcdc7464e8802b5e1c9fd2f80dd29f36e20ac9774 (patch)
tree6eb10c4011ca2320f50240f5ca6736056ca8dd5f /Bugzilla/Product.pm
parent2cbbaecdd08c8206b640518ab65abfaf76f68d8b (diff)
downloadbugzilla-cdc7464e8802b5e1c9fd2f80dd29f36e20ac9774.tar.gz
bugzilla-cdc7464e8802b5e1c9fd2f80dd29f36e20ac9774.tar.xz
Bug 342238: There is a dependency loop between Bugzilla::User and Bugzilla::Component
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=myk
Diffstat (limited to 'Bugzilla/Product.pm')
-rw-r--r--Bugzilla/Product.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm
index 5405b1651..e7f33ecce 100644
--- a/Bugzilla/Product.pm
+++ b/Bugzilla/Product.pm
@@ -18,7 +18,6 @@ use strict;
package Bugzilla::Product;
-use Bugzilla::Component;
use Bugzilla::Version;
use Bugzilla::Milestone;
@@ -107,6 +106,7 @@ sub components {
ORDER BY name}, undef, $self->id);
my @components;
+ require Bugzilla::Component;
foreach my $id (@$ids) {
push @components, new Bugzilla::Component($id);
}