missing $query arg to themelanguage()

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Mason James 2008-01-07 01:57:34 -06:00 committed by Joshua Ferraro
parent c6fdd4ba5d
commit 13e77ca7c3
1 changed files with 2 additions and 2 deletions

View File

@ -32,10 +32,10 @@ sub gethelptemplate {
my $htdocs;
$htdocs = C4::Context->config('intrahtdocs');
my ( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, "intranet" );
my ( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, "intranet", $query );
unless ( -e "$htdocs/$theme/$lang/$tmplbase" ) {
$tmplbase = "modules/help/nohelp.tmpl";
( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, "intranet" );
( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, "intranet", $query );
}
my $template = HTML::Template->new(
filename => "$htdocs/$theme/$lang/$tmplbase",