summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-05-10 18:03:21 +0200
committerlpsolit%gmail.com <>2007-05-10 18:03:21 +0200
commit3951e2cb57cafacba6605949beb54e105f69d527 (patch)
treed494983bb84a1fc388197673c6fa77a63e18ec33 /process_bug.cgi
parent6e5f81c4faa61d5aace2020e0e48a2854f47ed47 (diff)
downloadbugzilla-3951e2cb57cafacba6605949beb54e105f69d527.tar.gz
bugzilla-3951e2cb57cafacba6605949beb54e105f69d527.tar.xz
Bug 366346: On process_bug.cgi with submit_action=nothing, provide Next/Prev link - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 3 insertions, 0 deletions
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)