diff --git a/C4/Output.pm b/C4/Output.pm index 5e39eccff6..2518881b94 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -82,7 +82,7 @@ sub gettemplate { my ( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, $interface, $query ); my $opacstylesheet = C4::Context->preference('opacstylesheet'); my $template = HTML::Template::Pro->new( - filename => "$htdocs/$theme/$lang/modules/$tmplbase", + filename => "$htdocs/$theme/$lang/".($interface eq 'intranet'?"modules":"")."/$tmplbase", die_on_bad_params => 1, global_vars => 1, case_sensitive => 1,