Browse Source

missing $query arg to themelanguage()

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Mason James 17 years ago
committed by Joshua Ferraro
parent
commit
13e77ca7c3
  1. 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…
Cancel
Save