From d08d7d95cfb5813b08f4c0bbc50cc435f6cf275c Mon Sep 17 00:00:00 2001 From: "jkeiser%netscape.com" <> Date: Wed, 20 Aug 2003 07:45:39 +0000 Subject: Check for PatchReader as a part of the installation and disable the "Diff" links if it is not there (bug 215268) --- show_bug.cgi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'show_bug.cgi') 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) -- cgit v1.2.3-24-g4f1b