@@ -, +, @@ XSLTParse4Display is called --- C4/XSLT.pm | 3 +++ opac/opac-tags.pl | 2 +- virtualshelves/shelves.pl | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) --- a/C4/XSLT.pm +++ a/C4/XSLT.pm @@ -251,6 +251,9 @@ sub XSLTParse4Display { my $variables = $params->{xslt_variables}; my $items_rs = $params->{items_rs}; + die "Mandatory \$params->{xsl_syspref} was not provided, called with biblionumber $params->{biblionumber}" + if not defined $params->{xsl_syspref}; + my $xslfilename = get_xsl_filename( $xslsyspref); # grab the XML, run it through our stylesheet, push it out to the browser --- a/opac/opac-tags.pl +++ a/opac/opac-tags.pl @@ -292,7 +292,7 @@ if ($loggedinuser) { { biblionumber => $tag->{biblionumber}, record => $record, - xsl_filename => 'OPACXSLTResultsDisplay', + xsl_syspref => 'OPACXSLTResultsDisplay', fix_amps => 1, hidden_items => $hidden_items, xslt_variables => $variables --- a/virtualshelves/shelves.pl +++ a/virtualshelves/shelves.pl @@ -268,7 +268,7 @@ if ( $op eq 'view' ) { { biblionumber => $biblionumber, record => $record, - xsl_filename => "XSLTListsDisplay", + xsl_syspref => 'XSLTListsDisplay', fix_amps => 1, } ); --