diff --git a/C4/Output.pm b/C4/Output.pm index e964515077..36b83a2904 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -80,6 +80,7 @@ sub gettemplate { } my $path = C4::Context->preference('intranet_includes') || 'includes'; my ( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, $interface, $query ); + my $opacstylesheet = C4::Context->preference('opacstylesheet'); # if the template doesn't exist, load the English one as a last resort my $filename = "$htdocs/$theme/$lang/modules/$tmplbase";