projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f9207da
)
Bug 7821 - fix C4::Templates::_current_language
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 30 Mar 2012 17:41:02 +0000 (19:41 +0200)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Mon, 2 Apr 2012 09:33:17 +0000 (11:33 +0200)
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>
C4/XSLT.pm
patch
|
blob
|
history
diff --git
a/C4/XSLT.pm
b/C4/XSLT.pm
index
a22f2e5
..
56ba544
100644
(file)
--- a/
C4/XSLT.pm
+++ b/
C4/XSLT.pm
@@
-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/;
}