diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-02-23 23:50:41 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-02-23 23:50:41 +0100 |
commit | 3faa5aeb86deb1af7812ca6206b54b2fb3cc23da (patch) | |
tree | 1f41ef32a009cf512fde56e9974c119375071453 /show_bug.cgi | |
parent | Revert "Temporary fix/workaround for Use of uninitialized value in concatenat... (diff) | |
parent | Update to 4.2. (diff) | |
download | bugzilla-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-x | show_bug.cgi | 4 |
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; |