summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Flag.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-09-09 00:13:23 +0200
committerlpsolit%gmail.com <>2008-09-09 00:13:23 +0200
commitb62885e4be6593ec212a20ebc0a4305d79b2b7f9 (patch)
tree444cd9e58f30699d908deafbdb560d7ed5eee3c8 /Bugzilla/Flag.pm
parent4dd427ea99673391d923db9682836d344f178b54 (diff)
downloadbugzilla-b62885e4be6593ec212a20ebc0a4305d79b2b7f9.tar.gz
bugzilla-b62885e4be6593ec212a20ebc0a4305d79b2b7f9.tar.xz
Bug 388251: Implement 'new Bugzilla::Attachment' - Patch by Frédéric Buclin <LpSolit@gmail.com> a=LpSolit
Diffstat (limited to 'Bugzilla/Flag.pm')
-rw-r--r--Bugzilla/Flag.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm
index ea3e940d8..618cd3ef4 100644
--- a/Bugzilla/Flag.pm
+++ b/Bugzilla/Flag.pm
@@ -180,7 +180,7 @@ sub attachment {
return undef unless $self->attach_id;
require Bugzilla::Attachment;
- $self->{'attachment'} ||= Bugzilla::Attachment->get($self->attach_id);
+ $self->{'attachment'} ||= new Bugzilla::Attachment($self->attach_id);
return $self->{'attachment'};
}