From 25d05c8ba6579670bf68d381356074b554b2a27f Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 21 Aug 2008 19:59:45 -0500 Subject: [PATCH] bug 2545: fix XSLTDetailsDisplay Corrected so that when XSLTDetailsDisplay is ON but XSLTResultsDisplay is OFF, the portion of the OPAC bib details page that's derived from the MARC bib record is no longer missing. Signed-off-by: Galen Charlton --- opac/opac-detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index c2909f22ff..149209c61d 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -59,7 +59,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( my $biblionumber = $query->param('biblionumber') || $query->param('bib'); $template->param( biblionumber => $biblionumber ); # XSLT processing of some stuff -if (C4::Context->preference("XSLTResultsDisplay") ) { +if (C4::Context->preference("XSLTDetailsDisplay") ) { my $newxmlrecord = XSLTParse4Display($biblionumber,C4::Context->config('opachtdocs')."/prog/en/xslt/MARC21slim2OPACDetail.xsl"); $template->param('XSLTBloc' => $newxmlrecord); } -- 2.39.5