Bug 6923 : Fixing a bug introduced by 6755 - was blocking help being used or edited

(cherry picked from commit b9808b86df)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Chris Cormack 2011-09-27 11:14:06 +13:00 committed by Chris Nighswonger
parent fb1d1cdea1
commit 66bb83f06f
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
use strict;
use C4::Output;
use C4::Templates;
use C4::Auth;
use CGI;
use warnings;
@ -66,7 +67,7 @@ sub _get_filepath ($;$) {
$referer =~ /koha\/(.*)\.pl/;
my $from = "help/$1.tt";
my $htdocs = C4::Context->config('intrahtdocs');
my ($theme, $lang) = themelanguage( $htdocs, $from, "intranet", $input );
my ($theme, $lang) = C4::Templates::themelanguage( $htdocs, $from, "intranet", $input );
$debug and print STDERR "help filepath: $htdocs/$theme/$lang/modules/$from";
return "$htdocs/$theme/$lang/modules/$from";
}