summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index b2dd8c6bd..55e65d2a9 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -2082,6 +2082,9 @@ elsif ($action eq 'next_bug') {
# End the response page.
unless (Bugzilla->usage_mode == USAGE_MODE_EMAIL) {
+ # The user pref is 'Do nothing', so all we need is the current bug ID.
+ $vars->{'bug'} = {bug_id => scalar $cgi->param('id')};
+
$template->process("bug/navigate.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
$template->process("global/footer.html.tmpl", $vars)