Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 13e77ca7c32bf9dd20fde00aee7b7a3d99f318bb 1 parent c6fdd4b
Mason James authored Joshua Ferraro committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 help.pl
View
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",
Please sign in to comment.
Something went wrong with that request. Please try again.