From: Chris Cormack Date: Wed, 30 Mar 2011 10:24:20 +0000 (+0200) Subject: Bug 5965 : Follow up patch, cleaned for style X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=513fbe2084f02a9765f219e80ea209f43534448a;p=koha.git Bug 5965 : Follow up patch, cleaned for style Signed-off-by: Chris Cormack --- 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') );