Bug 7821 - fix C4::Templates::_current_language
Bareword "C4::Templates::_current_language" not allowed while "strict subs" in use at /home/oleonard/kohaclone/C4/XSLT.pm line 175. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Fixes the problem. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
f9207da8f2
commit
574f46fb19
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ sub XSLTParse4Display {
|
|||
}
|
||||
|
||||
if ( $xslfilename =~ m/\{langcode\}/ ) {
|
||||
my $lang = C4::Templates::_current_language;
|
||||
my $lang = C4::Templates::_current_language();
|
||||
$xslfilename =~ s/\{langcode\}/$lang/;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue