]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 366346: On process_bug.cgi with submit_action=nothing, provide Next/Prev link...
authorlpsolit%gmail.com <>
Thu, 10 May 2007 16:03:21 +0000 (16:03 +0000)
committerlpsolit%gmail.com <>
Thu, 10 May 2007 16:03:21 +0000 (16:03 +0000)
process_bug.cgi

index b2dd8c6bd133d6767d7efbba995c0b39f3ccc085..55e65d2a970c836bdd618df3509156a5ba53cdc0 100755 (executable)
@@ -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)