]> 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:05:08 +0000 (16:05 +0000)
committerlpsolit%gmail.com <>
Thu, 10 May 2007 16:05:08 +0000 (16:05 +0000)
process_bug.cgi

index ffca2fab4ae4a436f2134648a72b5143922d4ac0..0658b7e3bfced11d4a4d159a582c3824f006cab8 100755 (executable)
@@ -2215,6 +2215,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)