Revert "followup previous patch - remove disused $opacstylesheet"
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Sat, 5 Sep 2009 15:36:57 +0000 (17:36 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:33 +0000 (23:19 +0200)
This reverts commit 59b8fd2383053698996ffd2f6d936d8fcb20ca76.
c4/Output would not compile

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";