Permalink
Browse files

missing $query arg to themelanguage()

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
  • Loading branch information...
1 parent c6fdd4b commit 13e77ca7c32bf9dd20fde00aee7b7a3d99f318bb Mason James committed with Joshua Ferraro Jan 7, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 help.pl
View
@@ -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",

0 comments on commit 13e77ca

Please sign in to comment.