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:
parent
c6fdd4ba5d
commit
13e77ca7c3
4
help.pl
4
help.pl
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue