summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 711b7201b..c7a780404 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -73,6 +73,12 @@ if ($single) {
}
}
+# Determine if Patch Viewer is installed, for Diff link
+eval {
+ require PatchReader;
+ $vars->{'patchviewerinstalled'} = 1;
+};
+
$vars->{'bugs'} = \@bugs;
# Next bug in list (if there is one)