From 3951e2cb57cafacba6605949beb54e105f69d527 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 10 May 2007 16:03:21 +0000 Subject: Bug 366346: On process_bug.cgi with submit_action=nothing, provide Next/Prev link - Patch by Frédéric Buclin r=wicked a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'process_bug.cgi') 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) -- cgit v1.2.3-24-g4f1b