diff --git a/C4/Output.pm b/C4/Output.pm index d4ae30fe00..f59648ec46 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -81,7 +81,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/".($interface eq 'intranet'?"modules":"")."/$tmplbase", + filename => "$htdocs/$theme/$lang/modules/$tmplbase", die_on_bad_params => 1, global_vars => 1, case_sensitive => 1,