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 <martin.renvoize@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2022-09-30 12:06:25 +00:00 committed by Tomas Cohen Arazi
parent 70325d48a0
commit 1dc979af7c
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 1 additions and 2 deletions

View file

@ -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};

View file

@ -292,7 +292,7 @@ if ($loggedinuser) {
xsl_syspref => 'OPACXSLTResultsDisplay',
fix_amps => 1,
hidden_items => \@hidden_items,
xslt_variables => $variables
xslt_variables => $variables,
interface => 'opac'
}
);