Bareword "C4::Templates::_current_language" not allowed while "strict subs" in 
use at /home/oleonard/kohaclone/C4/XSLT.pm line 175.
---
 C4/XSLT.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/XSLT.pm b/C4/XSLT.pm
index a22f2e5..56ba544 100644
--- 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/;
     }
 
-- 
1.7.2.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to