From b47e7a9be41f4d681e59703809df29590852f528 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Wed, 23 Jan 2008 15:55:47 -0600 Subject: [PATCH] Fix for bug 1790 Thanks to Chris Nighswonger 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 190cc418ad..d9714a5533 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -162,7 +162,7 @@ sub themelanguage { #for ( my $pass = 1 ; $pass <= 2 ; $pass += 1 ) { # warn "$htdocs/$th/$la/modules/$interface-"."tmpl"; #$la =~ s/([-_])/ $1 eq '-'? '_': '-' /eg if $pass == 2; - if ( -e "$htdocs/$th/$la/modules/$interface-"."tmpl") { + if ( -e "$htdocs/$th/$la/modules/$tmpl") { #".($interface eq 'intranet'?"modules":"")."/$tmpl" ) { $theme = $th; $lang = $la; -- 2.39.5