Revert "followup previous patch - remove disused $opacstylesheet"
[koha.git] / C4 / Output.pm
index e964515..36b83a2 100644 (file)
@@ -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";