mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Patch for bug 242161: make process_bug.cgi contain patchviewer ("diff") link like show_bug.cgi; patch by GavinS <bugzilla@chimpychompy.org>; r=vladd; a=justdave.
This commit is contained in:
parent
9d46d0a1a3
commit
f39fb919af
@ -1767,6 +1767,14 @@ if ($next_bug) {
|
||||
# next.html.tmpl includes edit.html.tmpl, and therefore we
|
||||
# need $bug defined in $vars.
|
||||
$vars->{'bug'} = $bug;
|
||||
|
||||
# And we need to determine if Patch Viewer is installed, for
|
||||
# Diff link (NB: Duplicate code with show_bug.cgi.)
|
||||
eval {
|
||||
require PatchReader;
|
||||
$vars->{'patchviewerinstalled'} = 1;
|
||||
};
|
||||
|
||||
$template->process("bug/process/next.html.tmpl", $vars)
|
||||
|| ThrowTemplateError($template->error());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user