[Koha-patches] [PATCH] Bug 5965 : Follow up patch, cleaned for style

Chris Cormack chrisc at catalyst.net.nz
Mon Mar 28 04:05:27 CEST 2011


---
 opac/opac-detail.pl |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl
index 73941e0..50bece5 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') );
-- 
1.7.1



More information about the Koha-patches mailing list