From eee09f39da7d48f67766c34be0b91ed4e24cfb19 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Mon, 21 Jan 2008 03:16:03 -0600 Subject: [PATCH] correctly caluclate default template path for OPAC Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Output.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Output.pm b/C4/Output.pm index 733384fbe4..190cc418ad 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -81,7 +81,7 @@ sub gettemplate { my $filename = "$htdocs/$theme/$lang/modules/$tmplbase"; unless (-f $filename) { $lang = 'en'; - $filename = "$htdocs/$theme/$lang/".($interface eq 'intranet'?"modules":"")."/$tmplbase"; + $filename = "$htdocs/$theme/$lang/modules/$tmplbase"; } my $template = HTML::Template::Pro->new( filename => $filename, -- 2.39.5