summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-09-10 17:00:16 +0200
committerByron Jones <glob@mozilla.com>2014-09-10 17:00:16 +0200
commit02c6a481ed267c7f35af46fa61402a9ce7789484 (patch)
tree6763608f5acf9dc8484da18e10b0120dbbe5729c /Bugzilla/Bug.pm
parent3318edcfd73461053eaeb7bbf91d1af627514322 (diff)
downloadbugzilla-02c6a481ed267c7f35af46fa61402a9ce7789484.tar.gz
bugzilla-02c6a481ed267c7f35af46fa61402a9ce7789484.tar.xz
Bug 1035080: preload visibility of referenced bugs in _preload_referenced_bugs
r=sgreen,a=sgreen
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 223ca1ae0..e7e4e898b 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -555,6 +555,9 @@ sub _preload_referenced_bugs {
foreach my $bug (@$referenced_bugs) {
$bug->object_cache_set();
}
+
+ # preload bug visibility
+ Bugzilla->user->visible_bugs(\@referenced_bug_ids);
}
sub possible_duplicates {