From 650ea20950e19d255918243773b4b323fa55cb40 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 25 Oct 2023 12:33:05 +0000 Subject: [PATCH] Bug 33217: Tidy Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- C4/XSLT.pm | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index aa0684cc35..458d732d23 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -86,22 +86,24 @@ sub _get_best_default_xslt_filename { sub get_xslt_sysprefs { my $sysxml = "\n"; - foreach my $syspref ( qw/ hidelostitems OPACURLOpenInNewWindow - DisplayOPACiconsXSLT URLLinkText viewISBD - OPACBaseURL TraceCompleteSubfields UseICUStyleQuotes - UseAuthoritiesForTracings TraceSubjectSubdivisions - Display856uAsImage OPACDisplay856uAsImage - UseControlNumber IntranetBiblioDefaultView BiblioDefaultView - OPACItemLocation DisplayIconsXSLT - AlternateHoldingsField AlternateHoldingsSeparator - TrackClicks opacthemes IdRef OpacSuppression - OPACResultsLibrary OPACShowOpenURL - OpenURLResolverURL OpenURLImageLocation - OPACResultsMaxItems OPACResultsMaxItemsUnavailable OPACResultsUnavailableGroupingBy - OpenURLText OPACShowMusicalInscripts OPACPlayMusicalInscripts ContentWarningField - AuthorLinkSortBy AuthorLinkSortOrder / ) + foreach my $syspref ( + qw/ hidelostitems OPACURLOpenInNewWindow + DisplayOPACiconsXSLT URLLinkText viewISBD + OPACBaseURL TraceCompleteSubfields UseICUStyleQuotes + UseAuthoritiesForTracings TraceSubjectSubdivisions + Display856uAsImage OPACDisplay856uAsImage + UseControlNumber IntranetBiblioDefaultView BiblioDefaultView + OPACItemLocation DisplayIconsXSLT + AlternateHoldingsField AlternateHoldingsSeparator + TrackClicks opacthemes IdRef OpacSuppression + OPACResultsLibrary OPACShowOpenURL + OpenURLResolverURL OpenURLImageLocation + OPACResultsMaxItems OPACResultsMaxItemsUnavailable OPACResultsUnavailableGroupingBy + OpenURLText OPACShowMusicalInscripts OPACPlayMusicalInscripts ContentWarningField + AuthorLinkSortBy AuthorLinkSortOrder / + ) { - my $sp = C4::Context->preference( $syspref ); + my $sp = C4::Context->preference($syspref); next unless defined($sp); $sysxml .= "$sp\n"; } -- 2.39.5