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

This commit is contained in:
lpsolit%gmail.com 2007-05-10 11:03:21 +00:00
Родитель e0ff0ffd5e
Коммит 2c72b93a3e
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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)