From 27da944e07b36e052dda163f8cc195d1d56d645d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 10 May 2007 16:05:08 +0000 Subject: [PATCH] =?utf8?q?Bug=20366346:=20On=20process=5Fbug.cgi=20with=20?= =?utf8?q?submit=5Faction=3Dnothing,=20provide=20Next/Prev=20link=20-=20Pa?= =?utf8?q?tch=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=utf8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/process_bug.cgi b/process_bug.cgi index ffca2fab4a..0658b7e3bf 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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) -- 2.47.2