summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Flag.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Flag.pm')
-rw-r--r--Bugzilla/Flag.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm
index 2052f9507..8c9a4befe 100644
--- a/Bugzilla/Flag.pm
+++ b/Bugzilla/Flag.pm
@@ -34,8 +34,7 @@ use Bugzilla::User;
use Bugzilla::Config;
use Bugzilla::Util;
use Bugzilla::Error;
-
-use Attachment;
+use Bugzilla::Attachment;
use constant TABLES_ALREADY_LOCKED => 1;
@@ -529,7 +528,7 @@ sub GetTarget {
my $target = { 'exists' => 0 };
if ($attach_id) {
- $target->{'attachment'} = new Attachment($attach_id);
+ $target->{'attachment'} = new Bugzilla::Attachment($attach_id);
if ($bug_id) {
# Make sure the bug and attachment IDs correspond to each other
# (i.e. this is the bug to which this attachment is attached).