diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Product.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm index 8fb7b7ca9..7a560a3e6 100644 --- a/Bugzilla/Product.pm +++ b/Bugzilla/Product.pm @@ -374,6 +374,7 @@ sub remove_from_db { if ($self->bug_count) { if (Bugzilla->params->{'allowbugdeletion'}) { + require Bugzilla::Bug; foreach my $bug_id (@{$self->bug_ids}) { # Note that we allow the user to delete bugs he can't see, # which is okay, because he's deleting the whole Product. |