From 513fbe2084f02a9765f219e80ea209f43534448a Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Wed, 30 Mar 2011 12:24:20 +0200 Subject: [PATCH] Bug 5965 : Follow up patch, cleaned for style Signed-off-by: Chris Cormack --- opac/opac-detail.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 73941e05ea..50bece592c 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -41,6 +41,7 @@ use C4::Members; use C4::VirtualShelves; use C4::XSLT; use C4::ShelfBrowser; +use C4::Charset; BEGIN { if (C4::Context->preference('BakerTaylorEnabled')) { @@ -71,8 +72,9 @@ if ( ! $record ) { exit; } $template->param( biblionumber => $biblionumber ); - use C4::Charset; - SetUTF8Flag($record); + +SetUTF8Flag($record); + # XSLT processing of some stuff if (C4::Context->preference("OPACXSLTDetailsDisplay") ) { $template->param( 'XSLTBloc' => XSLTParse4Display($biblionumber, $record, 'Detail', 'opac') ); -- 2.39.5