aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-02-23 23:50:41 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-02-23 23:50:41 +0100
commit3faa5aeb86deb1af7812ca6206b54b2fb3cc23da (patch)
tree1f41ef32a009cf512fde56e9974c119375071453 /show_bug.cgi
parentRevert "Temporary fix/workaround for Use of uninitialized value in concatenat... (diff)
parentUpdate to 4.2. (diff)
downloadbugzilla-3faa5aeb86deb1af7812ca6206b54b2fb3cc23da.tar.gz
bugzilla-3faa5aeb86deb1af7812ca6206b54b2fb3cc23da.tar.bz2
bugzilla-3faa5aeb86deb1af7812ca6206b54b2fb3cc23da.zip
Merge branch 'upstream' into update
Conflicts: Bugzilla/BugMail.pm Bugzilla/Search/Quicksearch.pm mod_perl.pl template/en/default/attachment/createformcontents.html.tmpl template/en/default/attachment/edit.html.tmpl template/en/default/bug/format_comment.txt.tmpl template/en/default/email/bugmail.txt.tmpl
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index db7d5d12c..db938cae5 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -52,7 +52,7 @@ if (!$cgi->param('id') && $single) {
my $format = $template->get_format("bug/show", scalar $cgi->param('format'),
scalar $cgi->param('ctype'));
-my @bugs = ();
+my @bugs;
my %marks;
# If the user isn't logged in, we use data from the shadow DB. If he plans
@@ -94,6 +94,8 @@ if ($single) {
}
}
+Bugzilla::Bug->preload(\@bugs);
+
$vars->{'bugs'} = \@bugs;
$vars->{'marks'} = \%marks;