From 3951e2cb57cafacba6605949beb54e105f69d527 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 10 May 2007 16:03:21 +0000 Subject: =?UTF-8?q?Bug=20366346:=20On=20process=5Fbug.cgi=20with=20submit?= =?UTF-8?q?=5Faction=3Dnothing,=20provide=20Next/Prev=20link=20-=20Patch?= =?UTF-8?q?=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dwicked=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 3 +++ 1 file changed, 3 insertions(+) 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.1