From 1dc979af7c96562c2fd2f954637f76f4faabca47 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 30 Sep 2022 12:06:25 +0000 Subject: [PATCH] Bug 28375: (follow-up) Remove guessed interface parameter - always pass Previous patch added interface parameter passed on each call. There was an existing one that 'guessed' - this patch removes that Fixes missing comma Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- C4/XSLT.pm | 1 - opac/opac-tags.pl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 546667a69d..9e3d3f70e7 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -174,7 +174,6 @@ sub XSLTParse4Display { my $biblionumber = $params->{biblionumber}; my $record = $params->{record}; my $xslsyspref = $params->{xsl_syspref}; - my $interface = ( $xslsyspref =~ /OPAC/ ) ? 'opac' : 'intranet' ; my $fixamps = $params->{fix_amps}; my $hidden_items = $params->{hidden_items} || []; my $variables = $params->{xslt_variables}; diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl index c5c85029e7..c5adf41961 100755 --- a/opac/opac-tags.pl +++ b/opac/opac-tags.pl @@ -292,7 +292,7 @@ if ($loggedinuser) { xsl_syspref => 'OPACXSLTResultsDisplay', fix_amps => 1, hidden_items => \@hidden_items, - xslt_variables => $variables + xslt_variables => $variables, interface => 'opac' } ); -- 2.39.5