From 24976f373e021515bbc4fc445c8657f003786148 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 --- 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.30.2