summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-02-29 14:37:42 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-02-29 14:37:42 +0100
commit8ceb72c2709da6ec31f30671286445c4a110c8cd (patch)
tree1ae39271c95efb3bed9a0fdd6272567220ae1b1e /Bugzilla/Bug.pm
parent40e28180ebcc7996ff3c8e1a20439c019d6bd6b6 (diff)
downloadbugzilla-8ceb72c2709da6ec31f30671286445c4a110c8cd.tar.gz
bugzilla-8ceb72c2709da6ec31f30671286445c4a110c8cd.tar.xz
Bug 731559: Preload all attachment submitters when viewing a bug report
a=LpSolit
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 4a00596b0..151e4ae9b 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -3100,7 +3100,7 @@ sub attachments {
return [] if $self->{'error'};
$self->{'attachments'} =
- Bugzilla::Attachment->get_attachments_by_bug($self->bug_id, {preload => 1});
+ Bugzilla::Attachment->get_attachments_by_bug($self, {preload => 1});
return $self->{'attachments'};
}